From d70f14f0651b56d8b6693c5fdcb1cbe4ab0fe268 Mon Sep 17 00:00:00 2001 From: Carl Recine Date: Mon, 6 May 2024 15:28:44 -0700 Subject: [PATCH] fixed second usage of logic --- pyoptsparse/pyOpt_optimization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyoptsparse/pyOpt_optimization.py b/pyoptsparse/pyOpt_optimization.py index 02523130..9a68e921 100644 --- a/pyoptsparse/pyOpt_optimization.py +++ b/pyoptsparse/pyOpt_optimization.py @@ -1699,7 +1699,7 @@ def summary_str(self, minimal_print=False): # Active upper bound status += "u" - if not (minimal_print and not status): + if not minimal_print or status: text += fmt.format( idx, c.name, typ, lower, value, upper, status, lambdaStar[con_name][j], width=num_c )