robotology / osqp-eigen

Simple Eigen-C++ wrapper for OSQP library
https://robotology.github.io/osqp-eigen/
BSD 3-Clause "New" or "Revised" License
395 stars 118 forks source link

Several of the Solver methods may result in a segfault if the solver is not initialized #88

Closed S-Dafarra closed 3 years ago

S-Dafarra commented 3 years ago

See for example https://github.com/robotology/osqp-eigen/blob/9b0091038cf0fb9099a5d6c55820d6e5846034a7/include/OsqpEigen/Solver.tpp#L215-L309

they all access to the workspace data, but that could not have been set yet.

cc @GiulioRomualdi