Skip to content

Commit

Permalink
Merge branch 'master' into feat/lattice_swaps
Browse files Browse the repository at this point in the history
  • Loading branch information
ceriottm committed Aug 17, 2023
2 parents 818a006 + 7369432 commit bef217e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipi/engine/motion/atomswap.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def step(self, step=None):
while self.beads.names[axlist[i]] == self.beads.names[axlist[j]]:
j = self.prng.rng.randint(lenlist) # makes sure we pick a real exchange

# pick actual atom indices
# map the "subset" indices back to the "absolute" atom indices
i = axlist[i]
j = axlist[j]
print(f"Trying {self.beads.names[i]} <--> {self.beads.names[j]}")
Expand Down

0 comments on commit bef217e

Please sign in to comment.