Skip to content

Commit 51a94ad

Browse files
authored
Merge pull request #1206 from gsabinoo/fix/test_crack
Fix numerical precision issues in crack test assertions
2 parents 7e01640 + 655ee75 commit 51a94ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ross/tests/test_crack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ def test_crack_mayes(rotor):
9595
]
9696
)
9797

98-
assert_allclose(crack.Ko, Ko)
99-
assert_allclose(crack.Kc, Kc)
98+
assert_allclose(crack.Ko, Ko, rtol=1e-6, atol=1e-7)
99+
assert_allclose(crack.Kc, Kc, rtol=1e-6, atol=1e-7)
100100

101101

102102
@pytest.fixture

0 commit comments

Comments
 (0)