Skip to content

Commit

Permalink
Merge pull request #781 from zyrxvo/master
Browse files Browse the repository at this point in the history
Fixed issue where minor and patch numbers were not referenced correctly with self.
  • Loading branch information
hannorein authored Jul 7, 2024
2 parents cc80192 + 0e21fd8 commit 896d6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebound/simulationarchive.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Simulationarchive(Structure):
("t", POINTER(c_double))
]
def __repr__(self):
return '<{0}.{1} object at {2}, nblobs={3}, reb_version={4}.{5}.{6}>'.format(self.__module__, type(self).__name__, hex(id(self)), self.nblobs, self._reb_version_major, reb_version_minor, reb_version_patch)
return '<{0}.{1} object at {2}, nblobs={3}, reb_version={4}.{5}.{6}>'.format(self.__module__, type(self).__name__, hex(id(self)), self.nblobs, self._reb_version_major, self._reb_version_minor, self._reb_version_patch)

def __init__(self,filename,setup=None, setup_args=(), process_warnings=True, reuse_index=None):
"""
Expand Down

0 comments on commit 896d6cb

Please sign in to comment.