We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c17024d commit c4a7933Copy full SHA for c4a7933
pySDC/implementations/convergence_controller_classes/check_convergence.py
@@ -73,9 +73,7 @@ def check_convergence(S, self=None):
73
74
# get residual and check against prescribed tolerance (plus check number of iterations)
75
iter_converged = S.status.iter >= S.params.maxiter
76
- res_converged = L.status.residual <= L.params.restol and (
77
- (S.status.iter > 0 or L.status.sweep > 0) or L.sweep.params.initial_guess not in ['spread', 'copy', 'zero']
78
- )
+ res_converged = L.status.residual <= L.params.restol and (S.status.iter > 0 or L.status.sweep > 0)
79
e_tol_converged = (
80
L.status.increment < L.params.e_tol if (L.params.get('e_tol') and L.status.get('increment')) else False
81
)
0 commit comments