Skip to content

Commit

Permalink
Merge pull request #167 from maxbortone/fix-callback-converged
Browse files Browse the repository at this point in the history
Set fragment converged property from callback results
  • Loading branch information
basilib authored May 12, 2024
2 parents ec4e31a + 4dc442f commit ea83e38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vayesta/solver/callback.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,5 @@ def kernel(self, *args, **kwargs):

results['wf'] = wf
self.wf = wf
self.callback_results = results
self.converged = results['converged'] if 'converged' in results else False
self.callback_results = results

0 comments on commit ea83e38

Please sign in to comment.