Skip to content

Commit b35276c

Browse files
Update testsuite/MDAnalysisTests/coordinates/base.py
Co-authored-by: Egor Marin <[email protected]>
1 parent 0961f20 commit b35276c

File tree

1 file changed

+1
-1
lines changed
  • testsuite/MDAnalysisTests/coordinates

1 file changed

+1
-1
lines changed

testsuite/MDAnalysisTests/coordinates/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ def test_transformations_iter(self, ref, transformed):
462462
v2 = np.float32((0, 0, 0.33))
463463
for i, ts in enumerate(transformed):
464464
idealcoords = ref.iter_ts(i).positions + v1 + v2
465-
assert_allclose(ts.positions, idealcoords, atol=ref.prec, rtol=0)
465+
assert_allclose(ts.positions, idealcoords, atol=10**(-ref.prec), rtol=0)
466466

467467
def test_transformations_2iter(self, ref, transformed):
468468
# Are the transformations applied and

0 commit comments

Comments
 (0)