From b58c655f635f418173049501abae02807d706c0f Mon Sep 17 00:00:00 2001 From: chris-simpson Date: Fri, 10 Jan 2025 13:37:36 -1000 Subject: [PATCH] scipy1.15 change: look in kwargs for minimizer_kwargs --- gempy/library/matching.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gempy/library/matching.py b/gempy/library/matching.py index e9147c292..9ba6fca4f 100644 --- a/gempy/library/matching.py +++ b/gempy/library/matching.py @@ -396,7 +396,7 @@ def bounds_for_unfixed_parameters(m): if self._method is not None: kwargs['method'] = self._method - if 'minimizer_kwargs' in arg_names: + if 'minimizer_kwargs' in kwarg_names: kwargs['minimizer_kwargs'] = {'args': farg, 'method': 'Nelder-Mead'}