Skip to content

Commit

Permalink
Fix type hint to mockstream vmap arg (GalacticDynamics#65)
Browse files Browse the repository at this point in the history
Signed-off-by: nstarman <nstarman@users.noreply.github.com>
  • Loading branch information
nstarman committed Jan 18, 2024
1 parent fb2a422 commit e309553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/galax/dynamics/mockstream/_mockstream_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def _run_vmap( # TODO: output shape depends on the input shape
# TODO: make this a separated method
@jax.jit # type: ignore[misc]
def single_particle_integrate(
i: int, qp0_lead_i: Vec6, qp0_trail_i: Vec6
i: IntScalar, qp0_lead_i: Vec6, qp0_trail_i: Vec6
) -> tuple[Vec6, Vec6]:
t_i = ts[i]
qp_lead = self.potential.integrate_orbit(
Expand Down

0 comments on commit e309553

Please sign in to comment.