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
2fe50f60
Commit
2fe50f60
authored
Oct 19, 2020
by
Martin Marinov
1
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
2a4beb5f
'
parents
282232b5
2a4beb5f
Changes
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 @
2fe50f60
...
...
@@ -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
;
...
...
Martin Marinov
@mmarinov
mentioned in commit
dc4dcfaa
·
Oct 19, 2020
mentioned in commit
dc4dcfaa
mentioned in commit dc4dcfaaba1b4868037ed058c4eb32a2df86783b
Toggle commit list
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