make consistent for both branches
This commit is contained in:
@ -132,6 +132,7 @@ class AtomList(object):
|
||||
if index not in self._loaded:
|
||||
if self.dimensions == 2:
|
||||
atom = Atom2D(self._pylmp, index)
|
||||
self._loaded[index] = atom
|
||||
else:
|
||||
atom = Atom(self._pylmp, index)
|
||||
self._loaded[index] = atom
|
||||
|
||||
Reference in New Issue
Block a user