Skip to content

Commit

Permalink
Inherit integrator attribute when reducing a JaxSimModel
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti authored Dec 12, 2024
1 parent c896b48 commit d61d2b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jaxsim/api/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ def reduce(
time_step=model.time_step,
terrain=model.terrain,
contact_model=model.contact_model,
integrator=model.integrator,
)

# Store the origin of the model, in case downstream logic needs it.
Expand Down

0 comments on commit d61d2b1

Please sign in to comment.