From 66708de9c64c85942bd6456d5b8ebc881a5a1f4b Mon Sep 17 00:00:00 2001 From: Brendan O'Donoghue Date: Fri, 28 Jun 2024 07:46:39 -0600 Subject: [PATCH] test disable res infeas --- src/scs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scs.c b/src/scs.c index 4210bb08..5d00254b 100644 --- a/src/scs.c +++ b/src/scs.c @@ -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); */ } }