Skip to content

Commit c4a7933

Browse files
committed
Reverted last commit
1 parent c17024d commit c4a7933

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pySDC/implementations/convergence_controller_classes/check_convergence.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,7 @@ def check_convergence(S, self=None):
7373

7474
# get residual and check against prescribed tolerance (plus check number of iterations)
7575
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-
)
76+
res_converged = L.status.residual <= L.params.restol and (S.status.iter > 0 or L.status.sweep > 0)
7977
e_tol_converged = (
8078
L.status.increment < L.params.e_tol if (L.params.get('e_tol') and L.status.get('increment')) else False
8179
)

0 commit comments

Comments
 (0)