osqp / osqp-matlab

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

workspace.h should not initialise values for QDLDL workspace. #8

Closed goulart-paul closed 5 years ago

goulart-paul commented 5 years ago

I think it is not necessary to explicitly initialise the fwork/bwork/iwork vectors that are used by QDLDL in workspace.h, since these are only used for temporary internal calculations by QDLDL. They should instead just be initialised as arrays of the correct size and type.

gbanjac commented 5 years ago

Fixed in https://github.com/oxfordcontrol/osqp-matlab/commit/8b6c2e389b449755f3b897866b4a9fbf283ae7dd