Skip to content

Commit

Permalink
removed arg from __str__
Browse files Browse the repository at this point in the history
  • Loading branch information
crecine committed May 2, 2024
1 parent 1ef6b06 commit 8b883ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyoptsparse/pyOpt_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Check warning on line 1710 in pyoptsparse/pyOpt_optimization.py

View check run for this annotation

Codecov / codecov/patch

pyoptsparse/pyOpt_optimization.py#L1710

Added line #L1710 was not covered by tests
return self.summary_str(minimal_print=False)

def __getstate__(self) -> dict:
"""
Expand Down

0 comments on commit 8b883ef

Please sign in to comment.