fix assert

release/4.3a0
John Lambert 2021-10-07 21:04:58 -04:00 committed by GitHub
parent 0b0897d465
commit 225ac77f2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class TestRot3(GtsamTestCase):
# get back angle in radians
_, actual_angle = Rot3(R).axisAngle()
expected_angle = 3.1396582
self.gtsamAssertEquals(actual_angle, expected_angle, 1e-7)
np.testing.assert_almost_equal(actual_angle, expected_angle, 1e-7)
if __name__ == "__main__":