Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brownbaerchen committed Nov 6, 2024
1 parent 80bb295 commit 3a2e599
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pySDC/projects/GPU/configs/base_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ def post_step_processing(self, controller, S, **kwargs):
for _hook in controller.hooks:
_hook.post_step(S, 0)

if self.counter < hook.counter:
path = self.get_stats_path(hook)
while self.counter < hook.counter:
path = self.get_stats_path(hook, index=self.counter)
stats = controller.return_stats()
if hook.logging_condition(S.levels[0]):
with open(path, 'wb') as file:
Expand Down

0 comments on commit 3a2e599

Please sign in to comment.