vendor/scs/test/problems/test_validation.h in scs-0.3.2 vs vendor/scs/test/problems/test_validation.h in scs-0.4.0
- old
+ new
@@ -34,10 +34,13 @@
exitflag = scs(d, k, stgs, sol, &info);
mu_assert("test_fails: SCS failed to produce outputflag SCS_FAILED",
exitflag == SCS_FAILED);
- SCS(free_data)(d, k, stgs);
+ SCS(free_data)(d);
+ SCS(free_cone)(k);
SCS(free_sol)(sol);
SCS(free_sol)(opt_sol);
+ scs_free(stgs);
+
return 0;
}