Skip to content

Commit

Permalink
better print
Browse files Browse the repository at this point in the history
  • Loading branch information
bodono committed Jun 28, 2024
1 parent 8e8370a commit fed1e6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scs.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ static void compute_residuals(ScsResiduals *r, scs_int m, scs_int n) {
r->res_unbdd_p = SAFEDIV_POS(nm_px, -r->ctx_tau);
}
scs_printf("iter %i\n", r->last_iter);
scs_printf("bty_tau %.6f\n", r->bty_tau);
scs_printf("nm_aty %.6f\n", NORM(r->aty, n));
scs_printf("bty_tau %.6e\n", r->bty_tau);
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);
Expand Down

0 comments on commit fed1e6c

Please sign in to comment.