see https://github.com/acado/acado/commit/3da3e2452450d935d32366aa529a8539f60dc7ce#commitcomment-3106650
see acado/acado@3da3e24#commitcomment-3106650