diff --git a/news/135.rst b/news/135.rst new file mode 100644 index 00000000..b98e2daa --- /dev/null +++ b/news/135.rst @@ -0,0 +1,24 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* Avoid a spurious Linux aarch64 test failure by allowing floating-point + round-off near zero in the orthonormal coordinate test. + +**Security:** + +* diff --git a/tests/test_array_returns.py b/tests/test_array_returns.py index 4ce97657..5e4eddfa 100644 --- a/tests/test_array_returns.py +++ b/tests/test_array_returns.py @@ -71,7 +71,9 @@ def test_GetOrthonormalCoords(self): xyz = self.crystal.GetOrthonormalCoords(0.1, 0.2, 0.3) self.assertIsInstance(xyz, np.ndarray) np.testing.assert_allclose( - xyz, self.crystal.FractionalToOrthonormalCoords(0.1, 0.2, 0.3) + xyz, + self.crystal.FractionalToOrthonormalCoords(0.1, 0.2, 0.3), + atol=1e-14, ) def test_GetMinDistanceTable(self):