pyomeca / bioptim

An optimization framework that links CasADi, Ipopt, ACADOS and biorbd for Optimal Control Problem
MIT License
94 stars 47 forks source link

refactor : very small but remove if, in forward dynamics to handle and switch between cases. #895

Closed Ipuch closed 1 month ago

Ipuch commented 1 month ago

This change is Reviewable

EveCharbie commented 1 month ago

This part of code does not look like this anymore. Please review my PR to see if the spirit of this refactor is intact.