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
fe4ad58f
Commit
fe4ad58f
authored
Mar 29, 2018
by
Martin Reinecke
Browse files
remove sputious print statement
parent
8d13e434
Pipeline
#26576
passed with stages
in 8 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty4/extra/energy_tests.py
View file @
fe4ad58f
...
...
@@ -49,6 +49,5 @@ def check_value_gradient_consistency(E, tol=1e-6, ntries=100):
dirder
*=
0.5
E2
=
E2
.
at
(
E
.
position
+
dir
)
else
:
print
i
,
Ediff
,
dirder
,
eps
,
E
.
value
raise
ValueError
(
"gradient and value seem inconsistent"
)
E
=
Enext
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