Skip to content

Commit

Permalink
Set fragment converged property from callback results
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbortone authored May 8, 2024
1 parent ec4e31a commit 4dc442f
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 4dc442f

Please sign in to comment.