pyomeca / bioptim

An optimization framework that links CasADi, Ipopt, ACADOS and biorbd for Optimal Control Problem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an error message when the output value of a penalty is a matrix

EveCharbie opened this issue · comments

For now, if you send a matrix out of a penalty, there is no error message, but the values are wrong which can be challenging to debug.

is it better to vectorize any matrices or to raise an error?