osqp / osqp-matlab

Matlab interface for OSQP
https://osqp.org/
Apache License 2.0
42 stars 25 forks source link

Incorrect size of P in update_P causes Matlab to crash #25

Closed gjosipovic closed 4 years ago

gjosipovic commented 4 years ago

Related to the issue #24 when passing matrix of incorrect size in emosqp('update_P', Px, Px_idx, Px_n) causes Matlab to crash. osqp.m checks for incorrect size of A but not for P.

goulart-paul commented 4 years ago

Are you using the latest version from the master branch? If so, can you post a MWE?

gjosipovic commented 4 years ago

No, I accidentally installed wrong version. It doesn't crash with the latest version from the master branch. Sorry for the false alarm.