Skip to content

Commit

Permalink
remove exit_flag
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianSchwendinger committed Nov 7, 2021
1 parent 5c7185b commit 1b6dec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scsr.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ SEXP populateInfoR(ScsInfo *info) {
}

SEXP scsr(SEXP data, SEXP cone, SEXP params) {
scs_int len, exit_flag;
scs_int len;
SEXP ret, retnames, infor, xr, yr, sr;

/* allocate memory */
Expand Down Expand Up @@ -314,7 +314,7 @@ SEXP scsr(SEXP data, SEXP cone, SEXP params) {
/* solve! */
/* scs(d, k, sol, info); */
/* exit_flag is stuffed in info anyway, so ignore... */
exit_flag = scs(d, k, stgs, sol, info);
scs(d, k, stgs, sol, info);

PROTECT(infor = populateInfoR(info)); /* count = 1 */

Expand Down

0 comments on commit 1b6dec8

Please sign in to comment.