Skip to content

Commit

Permalink
Tiny PR changing one final Integrator.run() (#389)
Browse files Browse the repository at this point in the history
* switch to Integrator.call instead of .run

* log changes

* remove changelog entry
  • Loading branch information
TomWagg authored Aug 30, 2024
1 parent d1bbbfa commit 93f295a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ API changes
-----------



1.9.1 (2024-08-26)
==================

Expand Down
2 changes: 1 addition & 1 deletion gala/potential/hamiltonian/chamiltonian.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ class Hamiltonian(CommonBase):
w_T = np.ascontiguousarray(w.T)
return self._gradient(w_T, t=np.array([t])).T
integrator = Integrator(F, func_units=self.units, **Integrator_kwargs)
orbit = integrator.run(arr_w0.T, **time_spec)
orbit = integrator(arr_w0.T, **time_spec)
orbit.potential = self.potential
orbit.frame = self.frame
return orbit
Expand Down

0 comments on commit 93f295a

Please sign in to comment.