Skip to content

Commit

Permalink
fix step function
Browse files Browse the repository at this point in the history
  • Loading branch information
rogersamso authored and enekomartinmartinez committed Aug 1, 2023
1 parent 69a6d40 commit 1333683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysd/py_backend/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1544,8 +1544,8 @@ def step(self, num_steps=1, step_vars={}):
self.set_components(step_vars)

for _ in range(num_steps):
self._integrate_step()
if self.time.in_return():
self._integrate_step()
self.output.update(self)

def _config_simulation(self, params, return_columns, return_timestamps,
Expand Down

0 comments on commit 1333683

Please sign in to comment.