Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-snd committed Sep 28, 2022
1 parent 2d0c353 commit 2230009
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(force=True)
self.sync_state()
else:
self.restore_from_backup()

Expand Down

0 comments on commit 2230009

Please sign in to comment.