Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
CoMISo
CoMISo
Commits
e12b50c0
Commit
e12b50c0
authored
Oct 15, 2020
by
Max Lyon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjust some output priorities in Newton Solver
parent
dbcf7f6a
Pipeline
#15345
passed with stages
in 4 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
NSolver/NewtonSolver.cc
NSolver/NewtonSolver.cc
+4
-4
No files found.
NSolver/NewtonSolver.cc
View file @
e12b50c0
...
...
@@ -46,7 +46,7 @@ solve(NProblemGmmInterface* _problem)
// check for convergence
if
(
gmm
::
vect_norm2
(
g
)
<
eps_
)
{
DEB_line
(
verbosity_
,
"Newton Solver converged after "
<<
i
<<
" iterations"
);
DEB_line
(
2
,
"Newton Solver converged after "
<<
i
<<
" iterations"
);
_problem
->
store_result
(
P
(
x
));
return
true
;
}
...
...
@@ -80,7 +80,7 @@ solve(NProblemGmmInterface* _problem)
f
=
f_new
;
improvement
=
true
;
DEB_line
(
verbosity_
,
"energy improved to "
<<
f
);
DEB_line
(
6
,
"energy improved to "
<<
f
);
}
}
...
...
@@ -97,7 +97,7 @@ solve(NProblemGmmInterface* _problem)
else
{
_problem
->
store_result
(
P
(
x
));
DEB_
line
(
verbosity_
,
"Newton solver reached max regularization but did not "
DEB_
warning
(
2
,
"Newton solver reached max regularization but did not "
"converge"
);
converged_
=
false
;
return
false
;
...
...
@@ -105,7 +105,7 @@ solve(NProblemGmmInterface* _problem)
}
}
_problem
->
store_result
(
P
(
x
));
DEB_
line
(
verbosity_
,
"Newton Solver did not converge!!! after iterations."
);
DEB_
warning
(
2
,
"Newton Solver did not converge!!! after iterations."
);
converged_
=
false
;
return
false
;
...
...
Write
Preview
Markdown
is supported
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