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
ift
NIFTy
Commits
e0417b98
Commit
e0417b98
authored
Aug 21, 2017
by
Martin Reinecke
Browse files
even better fix
parent
c88ee608
Pipeline
#16970
failed with stage
in 60 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/test_minimization/test_descent_minimizers.py
View file @
e0417b98
...
...
@@ -21,7 +21,7 @@ class Test_DescentMinimizers(unittest.TestCase):
@
expand
([[
minimizer
]
for
minimizer
in
minimizers
])
def
test_interface
(
self
,
minimizer
):
iteration_limit
=
3
0
iteration_limit
=
10
0
convergence_level
=
4
convergence_tolerance
=
1E-6
callback
=
lambda
z
:
z
...
...
@@ -43,7 +43,7 @@ class Test_DescentMinimizers(unittest.TestCase):
covariance
=
DiagonalOperator
(
space
,
diagonal
=
covariance_diagonal
)
energy
=
QuadraticPotential
(
position
=
starting_point
,
eigenvalues
=
covariance
)
minimizer
=
minimizer_class
(
iteration_limit
=
10
0
,
minimizer
=
minimizer_class
(
iteration_limit
=
3
0
,
convergence_tolerance
=
1e-10
)
(
energy
,
convergence
)
=
minimizer
(
energy
)
...
...
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