Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
On Thursday, 7th July from 1 to 3 pm there will be a maintenance with a short downtime of GitLab.
Open sidebar
ift
NIFTy
Commits
90076c0f
Commit
90076c0f
authored
May 27, 2020
by
Philipp Arras
Browse files
Fixup
parent
b3d458af
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty6/minimization/energy_adapter.py
View file @
90076c0f
...
...
@@ -46,6 +46,7 @@ class EnergyAdapter(Energy):
super
(
EnergyAdapter
,
self
).
__init__
(
position
)
self
.
_op
=
op
self
.
_constants
=
constants
self
.
_op4eval
=
_op4eval
if
self
.
_op4eval
is
None
:
if
len
(
constants
)
>
0
:
dom
=
{
kk
:
vv
for
kk
,
vv
in
position
.
domain
.
items
()
...
...
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