Add an error message when the output value of a penalty is a matrix
EveCharbie opened this issue · comments
Eve Charbonneau commented
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.
Mickael Begon commented
is it better to vectorize any matrices or to raise an error?