vendor/scs/test/problems/random_prob.h in scs-0.3.1 vs vendor/scs/test/problems/random_prob.h in scs-0.3.2

- old
+ new

@@ -25,10 +25,10 @@ } stgs->eps_abs = 1e-6; stgs->eps_rel = 1e-6; - sol = scs_calloc(1, sizeof(ScsSolution)); + sol = (ScsSolution *)scs_calloc(1, sizeof(ScsSolution)); exitflag = scs(d, k, stgs, sol, &info); perr = SCS(dot)(d->c, sol->x, d->n) - OPT; derr = -SCS(dot)(d->b, sol->y, d->m) - OPT; scs_printf("primal obj error %4e\n", perr);