Skip to content

Commit

Permalink
changed "min_step" to "integrator_options["min_step"]... oops
Browse files Browse the repository at this point in the history
  • Loading branch information
seanebum committed Aug 7, 2020
1 parent 50f16ae commit df731c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gillespy2/solvers/numpy/tau_hybrid_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def __integrate(self, integrator, integrator_options, curr_state, y0, model, cur
model.listOfAssignmentRules]
rhs = lambda t, y: TauHybridSolver.__f(t, y, *int_args)
if 'min_step' in integrator_options:
tau_step = max(min_step, tau_step)
tau_step = max(integrator_options['min_step'], tau_step)
else:
tau_step = max(1e-6, tau_step)
if pure_ode:
Expand Down

0 comments on commit df731c5

Please sign in to comment.