Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
5a94873d
Commit
5a94873d
authored
Jul 29, 2019
by
Philipp Arras
Browse files
fixup! Do not print internal output of NewtonCG always
parent
a0327b0f
Pipeline
#52648
failed with stages
in 5 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty5/minimization/descent_minimizers.py
View file @
5a94873d
...
...
@@ -166,6 +166,7 @@ class NewtonCG(DescentMinimizer):
super
(
NewtonCG
,
self
).
__init__
(
controller
=
controller
,
line_searcher
=
line_searcher
)
self
.
_napprox
=
napprox
self
.
_name
=
name
def
get_descent_direction
(
self
,
energy
,
f_k_minus_1
):
if
f_k_minus_1
is
None
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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