Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CoMISo
CoMISo
Commits
79c0f713
Commit
79c0f713
authored
Nov 25, 2016
by
Martin Marinov
Browse files
Replace a hard coded value for the line-search eps with the NewtonSolver parameter.
parent
baebde8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
NSolver/NewtonSolver.cc
View file @
79c0f713
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment