diff --git a/pyoptsparse/pyOpt_optimization.py b/pyoptsparse/pyOpt_optimization.py index 16ecd412..02523130 100644 --- a/pyoptsparse/pyOpt_optimization.py +++ b/pyoptsparse/pyOpt_optimization.py @@ -1642,7 +1642,7 @@ def summary_str(self, minimal_print=False): else: raise ValueError(f"Unrecognized type for variable {var.name}: {var.type}") - if not (minimal_print and not status): + if not minimal_print or status: text += fmt.format(idx, var.name, var.type, lower, value, upper, status, width=num_c) idx += 1