From 4b9d9216ac2a6e64866e60b557cf897ae442c11e Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Mon, 25 Nov 2024 15:18:41 +0100 Subject: [PATCH] Fix `NLoptOptimizer.__repr__` An incorrect value was used for `local_options`. --- pypesto/optimize/optimizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypesto/optimize/optimizer.py b/pypesto/optimize/optimizer.py index b05570e73..c445a2776 100644 --- a/pypesto/optimize/optimizer.py +++ b/pypesto/optimize/optimizer.py @@ -1169,7 +1169,7 @@ def __repr__(self) -> str: if self.options is not None: rep += f" options={self.options}" if self.local_options is not None: - rep += f" local_options={self.local_methods}" + rep += f" local_options={self.local_options}" return rep + ">" @minimize_decorator_collection