Skip to content

Commit

Permalink
Merges #1016: Increase tolerance to pass test on blas accelerate
Browse files Browse the repository at this point in the history
  • Loading branch information
pc494 committed Feb 12, 2024
2 parents da7c8f6 + 9a163dd commit 8546c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyxem/tests/utils/test_dpc_signal_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def test_offest_and_scale(self):
s.data[50, 51] = 10000
mask[50, 51] = True
plane_mask = pst._get_linear_plane_from_signal2d(s, mask=mask)
np.testing.assert_almost_equal(plane_mask, s_orig.data)
np.testing.assert_allclose(plane_mask, s_orig.data, atol=1E-6)

def test_crop_signal(self):
s, _ = hs.signals.Signal2D(np.meshgrid(range(100), range(110)))
Expand Down

0 comments on commit 8546c56

Please sign in to comment.