make consistent for both branches

This commit is contained in:
Axel Kohlmeyer
2025-06-24 22:15:04 -04:00
parent 687e1ddb53
commit af9a3d933b

View File

@ -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