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
e0f1f873
Commit
e0f1f873
authored
Aug 18, 2017
by
Theo Steininger
Browse files
Merge branch 'master' of gitlab.mpcdf.mpg.de:ift/NIFTy
parents
39e7ec15
e1843d4d
Pipeline
#16862
passed with stages
in 18 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/minimization/line_searching/line_search_strong_wolfe.py
View file @
e0f1f873
...
...
@@ -116,7 +116,7 @@ class LineSearchStrongWolfe(LineSearch):
if
self
.
preferred_initial_step_size
is
not
None
:
alpha1
=
self
.
preferred_initial_step_size
elif
old_phi_0
is
not
None
and
phiprime_0
!=
0
:
elif
old_phi_0
is
not
None
:
alpha1
=
min
(
1.0
,
1.01
*
2
*
(
phi_0
-
old_phi_0
)
/
phiprime_0
)
if
alpha1
<
0
:
alpha1
=
1.0
...
...
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