Skip to content

Commit

Permalink
also copy cell to avoid future shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhaute committed Sep 26, 2024
1 parent e863bb6 commit dd0a55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psiflow/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def geometry_to_key(geometry: Geometry) -> tuple:

plumed_ = self.plumed_instances[key]
if geometry.periodic:
cell = np.copy(geometry.cell).astype(np.float64)
cell = np.copy(geometry.cell).astype(np.float64).copy()
plumed_.cmd("setBox", cell)

# set positions
Expand Down

0 comments on commit dd0a55f

Please sign in to comment.