Skip to content

Commit

Permalink
Bag fix in optim.recover_state()
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-snd committed Sep 28, 2022
1 parent 72fe8c5 commit 34097f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trecover/train/collab/optim.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ def recover_state(self, sync: bool = False) -> None:
if sync:
while not self.params_are_finite:
self.restore_from_backup()
self.sync_state()
self.sync_state(sync=True)
else:
self.restore_from_backup()

Expand Down

0 comments on commit 34097f3

Please sign in to comment.