Skip to content

Commit

Permalink
driver base class: added missing option for step integrator
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcortesortuno committed Dec 5, 2024
1 parent ca56c43 commit d46c2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fidimag/common/driver_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def set_integrator(self, integrator, use_jac):
elif integrator == "sundials":
self.integrator = CvodeSolver(self.spin, self.sundials_rhs)
elif integrator == "euler" or integrator == "rk4":
self.integrator = StepIntegrator(self.spin, self.step_rhs)
self.integrator = StepIntegrator(self.spin, self.step_rhs, step=integrator)
elif integrator == "scipy":
self.integrator = ScipyIntegrator(self.spin, self.step_rhs)

Expand Down

0 comments on commit d46c2ab

Please sign in to comment.