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
afafb3a0
Commit
afafb3a0
authored
May 17, 2017
by
Theo Steininger
Browse files
Bugfix in Energy
parent
046142bf
Pipeline
#12557
passed with stages
in 13 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/energies/energy.py
View file @
afafb3a0
...
...
@@ -30,7 +30,7 @@ class Energy(Loggable, object):
position
=
position
.
copy
()
except
AttributeError
:
pass
self
.
position
=
position
self
.
_
position
=
position
def
at
(
self
,
position
):
return
self
.
__class__
(
position
)
...
...
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