Skip to content

Commit 3a2e599

Browse files
committed
Fix
1 parent 80bb295 commit 3a2e599

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pySDC/projects/GPU/configs/base_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ def post_step_processing(self, controller, S, **kwargs):
190190
for _hook in controller.hooks:
191191
_hook.post_step(S, 0)
192192

193-
if self.counter < hook.counter:
194-
path = self.get_stats_path(hook)
193+
while self.counter < hook.counter:
194+
path = self.get_stats_path(hook, index=self.counter)
195195
stats = controller.return_stats()
196196
if hook.logging_condition(S.levels[0]):
197197
with open(path, 'wb') as file:

0 commit comments

Comments
 (0)