From 8b883eff5c066af1c4f27013c3775fb02b332802 Mon Sep 17 00:00:00 2001 From: Carl Recine Date: Thu, 2 May 2024 15:46:23 -0700 Subject: [PATCH] removed arg from __str__ --- pyoptsparse/pyOpt_optimization.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyoptsparse/pyOpt_optimization.py b/pyoptsparse/pyOpt_optimization.py index 15c7f67c..16ecd412 100644 --- a/pyoptsparse/pyOpt_optimization.py +++ b/pyoptsparse/pyOpt_optimization.py @@ -1707,8 +1707,8 @@ def summary_str(self, minimal_print=False): return text - def __str__(self, minimal_print=False): - return self.summary_str(minimal_print) + def __str__(self): + return self.summary_str(minimal_print=False) def __getstate__(self) -> dict: """