Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Neel Shah
NIFTy
Commits
19172fd8
Commit
19172fd8
authored
Jun 01, 2021
by
Philipp Arras
Browse files
Fixup
parent
81211dec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/minimization/stochastic_minimizer.py
View file @
19172fd8
...
...
@@ -72,7 +72,7 @@ class ADVIOptimizer(Minimizer):
x
=
self
.
_step
(
E
.
position
,
E
.
gradient
)
E
=
self
.
_resample
(
x
)
myassert
(
isinstance
(
E
,
Energy
))
myassert
(
x
.
domain
,
E
.
position
.
domain
)
myassert
(
x
.
domain
is
E
.
position
.
domain
)
return
E
,
convergence
def
reset
(
self
):
...
...
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