#27: Count restarts starting from 0 --------------------------+------------------------------------------------- Reporter: eschnett | Owner: mthomas Type: enhancement | Status: closed Priority: minor | Milestone: Component: SimFactory | Version: Resolution: fixed | Keywords: --------------------------+------------------------------------------------- Changes (by mthomas):
* status: new => closed * resolution: => fixed
Comment:
this is done. The change was in restartlib.py, the function GetMaxRestartId, which previously returned 0 if the len of the discovered restart id's for a given simulation was 0. Now, it returns -1. The function GetRestartId inside simrestart.py then increments that value by 1 to determine the restart id.
commits@lists.einsteintoolkit.org