From 58c8a492079fa90c380fef06523ef6e9bdf43ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pacaud?= Date: Tue, 7 Jun 2022 20:56:56 -0500 Subject: [PATCH] hotfix: print_iter is broken with new AbstractKKTVector (#173) --- src/IPM/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IPM/utils.jl b/src/IPM/utils.jl index 25c7b802..7fb48d55 100644 --- a/src/IPM/utils.jl +++ b/src/IPM/utils.jl @@ -64,7 +64,7 @@ function print_iter(ips::AbstractInteriorPointSolver;is_resto=false) is_resto ? ips.RR.inf_pr_R : ips.inf_pr, is_resto ? ips.RR.inf_du_R : ips.inf_du, is_resto ? log(10,ips.RR.mu_R) : log(10,ips.mu), - ips.cnt.k == 0 ? 0. : norm(ips.dx,Inf), + ips.cnt.k == 0 ? 0. : norm(primal(ips.d),Inf), ips.del_w == 0 ? " - " : @sprintf("%5.1f",log(10,ips.del_w)), ips.alpha_z,ips.alpha,ips.ftype,ips.cnt.l)) return