From 2f6f165f8a4df23777f8c63bfdcfd9398f3a75c3 Mon Sep 17 00:00:00 2001 From: "Jason K. Moore" Date: Tue, 18 Oct 2022 08:14:04 +0200 Subject: [PATCH] Relax a couple more assert tolerances. --- yeadon/tests/test_inertia.py | 2 +- yeadon/tests/test_segment.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/yeadon/tests/test_inertia.py b/yeadon/tests/test_inertia.py index 04a8c3e..b477283 100644 --- a/yeadon/tests/test_inertia.py +++ b/yeadon/tests/test_inertia.py @@ -157,4 +157,4 @@ def test_rotate_inertia(): [0.0, 0.0, 0.0], [0.0, 0.0, 10.0]]) - testing.assert_allclose(I_b, expected_I_b, atol=1e-16) + testing.assert_allclose(I_b, expected_I_b, atol=1e-14) diff --git a/yeadon/tests/test_segment.py b/yeadon/tests/test_segment.py index 2de6f56..e259c53 100644 --- a/yeadon/tests/test_segment.py +++ b/yeadon/tests/test_segment.py @@ -275,4 +275,4 @@ def test_rotate_inertia(self): [0.0, 0.0, 0.0], [0.0, 0.0, 10.0]]) - testing.assert_allclose(I_b, expected_I_b, atol=1e-16) + testing.assert_allclose(I_b, expected_I_b, atol=1e-14)