diff --git a/numpy.patch b/numpy.patch index 36a761e..ffb0429 100644 --- a/numpy.patch +++ b/numpy.patch @@ -41,6 +41,13 @@ index 002340bd2..4539f1af5 100644 + old_p3_pos = np.copy(p3.pos) expected_p3_pos = old_p3_pos - \ np.array((get_lin_pos_offset(system.time, **params_lin), 0, 0)) +@@ -444,5 +444,5 @@ class LeesEdwards(ut.TestCase): + np.testing.assert_allclose(np.copy(p3.pos_folded), expected_p3_pos) + np.testing.assert_allclose( +- p3.v, p1.v + np.array((params_lin["shear_velocity"], 0, 0))) ++ np.copy(p3.v), np.copy(p1.v) + np.array((params_lin["shear_velocity"], 0, 0))) + + # Check distances diff --git a/testsuite/python/test_checkpoint.py b/testsuite/python/test_checkpoint.py index f295cec44..4b30aaefb 100644 --- a/testsuite/python/test_checkpoint.py diff --git a/python3-espressomd.changes b/python3-espressomd.changes index 7771961..af5359f 100644 --- a/python3-espressomd.changes +++ b/python3-espressomd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 11 19:01:36 UTC 2024 - Jean-Noel Grad + +- Fix numpy.patch + ------------------------------------------------------------------- Wed Sep 11 18:36:23 UTC 2024 - Jean-Noel Grad