Allow vectors l and u to be NULL. This fixes the issue introduced in that makes the matlab tests not pass.
@@ -819,20 +819,6 @@ c_int validate_data(const OSQPData *data) {
return 1;
}
- if (!(data->l)) {
-# ifdef PRINTING
- c_eprint("Missing vector l");
-# endif
- return 1;
- }
-
- if (!(data->u)) {
-# ifdef PRINTING
- c_eprint("Missing vector u");
-# endif
- return 1;
- }
-
// General dimensions Tests
if ((data->n <= 0) || (data->m < 0)) {
# ifdef PRINTING
