Skip to content

Commit

Permalink
Use msg about convergence info in Newton in SE
Browse files Browse the repository at this point in the history
  • Loading branch information
lisawim committed Mar 7, 2024
1 parent 74ee1ff commit 872e81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pySDC/projects/PinTSimE/switch_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def newton(x0, p, fprime, newton_tol, newton_maxiter):
msg = f'Newton did not converge after {n} iterations, error is {res}'
else:
msg = f'Newton did converge after {n} iterations, error for root {x0} is {res}'
# print(msg)
print(msg)

root = x0
return root
Expand Down

0 comments on commit 872e81e

Please sign in to comment.