Skip to content

Commit

Permalink
test disable res infeas
Browse files Browse the repository at this point in the history
  • Loading branch information
bodono committed Jun 28, 2024
1 parent fed1e6c commit 66708de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scs.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ static void compute_residuals(ScsResiduals *r, scs_int m, scs_int n) {
scs_printf("nm_aty %.6e\n", NORM(r->aty, n));
if (r->bty_tau < 0) {
nm_aty = NORM(r->aty, n);
r->res_infeas = SAFEDIV_POS(nm_aty, -r->bty_tau);
r->res_infeas = 1.0; /* SAFEDIV_POS(nm_aty, -r->bty_tau); */
}
}

Expand Down

0 comments on commit 66708de

Please sign in to comment.