Skip to content

Commit 980e3af

Browse files
committed
Soften Euler angle tolerance slightly
1 parent ce896e4 commit 980e3af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_quaternion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ def test_as_euler_angles():
523523
R1 = quaternion.from_euler_angles(alpha, beta, gamma)
524524
R2 = quaternion.from_euler_angles(*list(quaternion.as_euler_angles(R1)))
525525
d = quaternion.rotation_intrinsic_distance(R1, R2)
526-
assert d < 6e3*eps, ((alpha, beta, gamma), R1, R2, d) # Can't use allclose here; we don't care about rotor sign
526+
assert d < 5e4*eps, ((alpha, beta, gamma), R1, R2, d) # Can't use allclose here; we don't care about rotor sign
527527
q0 = quaternion.quaternion(0, 0.6, 0.8, 0)
528528
assert q0.norm() == 1.0
529529
assert abs(q0 - quaternion.from_euler_angles(*list(quaternion.as_euler_angles(q0)))) < 1.e-15

0 commit comments

Comments
 (0)