Skip to content

Commit

Permalink
Merge pull request #66 from ami-iit/fix/dxdt_kwargs
Browse files Browse the repository at this point in the history
Fix arguments order in `ode.dx_dt`
  • Loading branch information
flferretti committed Jan 18, 2024
2 parents 563e054 + 72e5ed3 commit eb3303c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jaxsim/simulation/ode.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ def compute_contact_forces(

def dx_dt(
x: ode_data.ODEState,
t: jtp.Float | None,
physics_model: PhysicsModel,
soft_contacts_params: SoftContactsParams = SoftContactsParams(),
t: jtp.Float | None = None,
ode_input: ode_data.ODEInput | None = None,
terrain: Terrain = FlatTerrain(),
) -> Tuple[ode_data.ODEState, Dict[str, Any]]:
Expand Down

0 comments on commit eb3303c

Please sign in to comment.