Browse Source

Merge branch '1.0'

Peter Colberg 1 year ago
parent
commit
352092f470
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      nanomotor/correlation.lua

+ 1
- 1
nanomotor/correlation.lua View File

@@ -105,7 +105,7 @@ return function(dom, file, tcf, timestep, args)
105 105
     while self.step <= final do
106 106
       local sample
107 107
       for i = 0, blockcount-1 do
108
-        if self.step % intervals[i] == 0 then
108
+        if (self.step - initial) % intervals[i] == 0 then
109 109
           local block = blocks[i]
110 110
           if self.step >= origin[i] then
111 111
             if not sample then

Loading…
Cancel
Save