Skip to content

Commit

Permalink
updated logic
Browse files Browse the repository at this point in the history
  • Loading branch information
crecine committed May 6, 2024
1 parent 8b883ef commit fb95de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyoptsparse/pyOpt_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fb95de0

Please sign in to comment.