Skip to content

Commit 727b723

Browse files
committed
Fix test failure due to round-off issues.
1 parent c92830d commit 727b723

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diffpy/Structure/tests/TestLattice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test___init__(self):
6060
self.assertTrue(numpy.array_equal(L0.isotropicunit, L2.isotropicunit))
6161
L3 = Lattice(*L0.abcABG(), baserot=L0.baserot)
6262
self.assertTrue(numpy.allclose(L0.base, L3.base))
63-
self.assertTrue(numpy.array_equal(L0.isotropicunit, L3.isotropicunit))
63+
self.assertTrue(numpy.allclose(L0.isotropicunit, L3.isotropicunit))
6464
return
6565

6666

0 commit comments

Comments
 (0)