Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
mushroomfire committed Dec 3, 2022
1 parent f65029e commit f290ed2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lindemann_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ def compute(self):
if self.only_globle:
pos_mean = np.zeros(int(Natoms * (Natoms - 1) / 2), dtype=np.float64)
pos_variance = np.zeros_like(pos_mean, dtype=pos_mean.dtype)
self.lindemann_trj = self._compute_globle(pos_list, pos_mean, pos_variance)
self.lindemann_trj = self._compute_globle(
self.pos_list, pos_mean, pos_variance
)

elif self.need_frame:
pos_mean = np.zeros(int(Natoms * (Natoms - 1) / 2), dtype=np.float64)
Expand Down

0 comments on commit f290ed2

Please sign in to comment.