vendor/scs/test/problems/unbounded_tiny_qp.h in scs-0.3.2 vs vendor/scs/test/problems/unbounded_tiny_qp.h in scs-0.4.0

- old
+ new

@@ -1,8 +1,9 @@ #include "glbopts.h" #include "linalg.h" #include "minunit.h" +#include "problem_utils.h" #include "scs.h" #include "scs_matrix.h" #include "util.h" static const char *unbounded_tiny_qp(void) { @@ -71,12 +72,11 @@ exitflag == SCS_UNBOUNDED); fail = verify_solution_correct(d, k, stgs, &info, sol, exitflag); SCS(free_sol)(sol); - scs_free(d->A); - scs_free(d->P); - scs_free(k); + SCS(free_cone)(k); scs_free(stgs); + scs_free(d->A); scs_free(d); return fail; }