Error stack smashing detected
I got an error "stack smashing detected" on one of my application at line 238 of solver.hpp during the call to extra_steps_after_solve
. The second argument of this function is an xtensor<double, 1>
but the function get_lagrange_multiplier
that provides this argument returns an xtensor of shape nx1.
The error is not reproductible, I've seen it on one application only and the same code works on another computer.
The merge request remove the last dimension of the xtensor containing the lagrange multipliers and the code works fine with it.