Skip to content
Permalink
Browse files

Fix writable array in assert_array_equal

  • Loading branch information...
hirschsn committed Apr 15, 2019
1 parent c546e1a commit dbeae3007abcbdbf6b7678f805fa6a71e03cc0d8
Showing with 2 additions and 2 deletions.
  1. +2 −2 testsuite/python/mpiio.py
@@ -114,8 +114,8 @@ def check_sample_system(self):
for p, q in zip(self.s.part, self.test_particles):
self.assertEqual(p.id, q.id)
self.assertEqual(p.type, q.type)
numpy.testing.assert_array_equal(p.pos, q.pos)
numpy.testing.assert_array_equal(p.v, q.v)
numpy.testing.assert_array_equal(numpy.copy(p.pos), q.pos)
numpy.testing.assert_array_equal(numpy.copy(p.v), q.v)
self.assertEqual(len(p.bonds), len(q.bonds))
# Check all bonds
for bp, bq in zip(p.bonds, q.bonds):

0 comments on commit dbeae30

Please sign in to comment.
You can’t perform that action at this time.