Commit 79c0f713 authored by Martin Marinov's avatar Martin Marinov
Browse files

Replace a hard coded value for the line-search eps with the NewtonSolver parameter.

parent baebde8e
......@@ -204,7 +204,7 @@ int NewtonSolver::solve(NProblemInterface* _problem, const SMatrixD& _A,
<< ", constraint violation after = " << (_b - _A*x).norm());
// converged?
if(newton_decrement < eps_ || std::abs(t) < 1e-10)
if(newton_decrement < eps_ || std::abs(t) < eps_ls_)
break;
++iter;
......
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