1
0
Christoph Junghans 2024-09-11 20:36:38 +00:00 committed by Git OBS Bridge
parent 1a0cd08b37
commit 33fd6a829b
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 11 19:01:36 UTC 2024 - Jean-Noel Grad <jgrad@icp.uni-stuttgart.de>
- Fix numpy.patch
-------------------------------------------------------------------
Wed Sep 11 18:36:23 UTC 2024 - Jean-Noel Grad <jgrad@icp.uni-stuttgart.de>