Skip to content

Commit 5c1cadd

Browse files
committed
Try MPI fix.
1 parent 365460f commit 5c1cadd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pytest/test_bond.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ def _make_snapshot(self, position_1, position_2, image_1, image_2):
248248
snap.particles.types = ["A"]
249249
snap.particles.image[:] = [image_1, image_2]
250250
snap.bonds.N = 1
251-
snap.bonds.group[:] = [[0, 1]]
252-
snap.bonds.typeid[:] = [0]
251+
snap.bonds.group[0] = [0, 1]
252+
snap.bonds.typeid[0] = 0
253253
snap.bonds.types = ["A-A"]
254254

255255
return snap

0 commit comments

Comments
 (0)