Commit afafb3a0 authored by Theo Steininger's avatar Theo Steininger
Browse files

Bugfix in Energy

parent 046142bf
Pipeline #12557 passed with stages
in 13 minutes and 29 seconds
...@@ -30,7 +30,7 @@ class Energy(Loggable, object): ...@@ -30,7 +30,7 @@ class Energy(Loggable, object):
position = position.copy() position = position.copy()
except AttributeError: except AttributeError:
pass pass
self.position = position self._position = position
def at(self, position): def at(self, position):
return self.__class__(position) return self.__class__(position)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment