Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
moble committed Nov 24, 2024
1 parent f1e24ae commit 6c50b14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_waveform_rotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def test_corotating_frame():
R0 = quaternionic.array.random().normalized
R_in = R0 * np.exp(quaternionic.array([0, 0, 0, omega / 2]) * w.t)
w_rot = w.copy().rotate(R_in.conjugate())
w_rot._metadata["frame_type"] = "inertial"
R_out = w_rot.corotating_frame(R0=R0, tolerance=1e-12)
assert np.allclose(R_in.ndarray, R_out.ndarray, atol=1e-10, rtol=0.0), (
f"\nR_in = {R_in}\n"
Expand Down

0 comments on commit 6c50b14

Please sign in to comment.