Skip to content

Commit

Permalink
step is now a required argument
Browse files Browse the repository at this point in the history
  • Loading branch information
mssiwek committed Feb 19, 2024
1 parent 96b4d69 commit ab1906a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion holodeck/discrete/evolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,8 @@ def _init_step_zero(self):
setattr(self, f"_dedt_{ii}", np.zeros_like(self.dadt))

# ---- Initialize hardening rate at first step
dadt_init, dedt_init = self._hardening_rate(step=0)
step0 = 0
dadt_init, dedt_init = self._hardening_rate(step0)

self.dadt[:, 0] = dadt_init
if (pop.eccen is not None):
Expand Down

0 comments on commit ab1906a

Please sign in to comment.