Skip to content

Commit 125e710

Browse files
gitsirshaorbeckst
andauthored
Update self.results.delta_t_values #3
Co-authored-by: Oliver Beckstein <orbeckst@gmail.com>
1 parent e26f53a commit 125e710

File tree

1 file changed

+1
-1
lines changed
  • package/MDAnalysis/analysis

1 file changed

+1
-1
lines changed

package/MDAnalysis/analysis/msd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ def _conclude_non_linear(self):
468468
# Looping over all the frames as if the referenced gets shifted frame to frame
469469
for i in range(n_frames):
470470
for j in range(i + 1, n_frames):
471-
delta_t = dump_times[j] - dump_times[i]
471+
delta_t = self.times[j] - self.times[i]
472472
# Compute displacement and squared displacement
473473
disp = positions[j] - positions[i]
474474
squared_disp = np.sum(disp**2, axis=1)

0 commit comments

Comments
 (0)