Commit d15b1e39 authored by Philipp Arras's avatar Philipp Arras
Browse files

Do not check for convergence in inner loop of NewtonCG

parent 4abc57ca
......@@ -186,8 +186,6 @@ class NewtonCG(DescentMinimizer):
p = approx.inverse
e, conv = ConjugateGradient(ic, nreset=self._nreset)(e,
preconditioner=p)
if conv == ic.ERROR:
raise RuntimeError
return -e.position
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment