Skip to content

Commit

Permalink
scipy1.15 change: look in kwargs for minimizer_kwargs
Browse files Browse the repository at this point in the history
(cherry picked from commit b58c655)
  • Loading branch information
chris-simpson committed Jan 11, 2025
1 parent 6caea9a commit 6d482b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gempy/library/matching.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'}

Expand Down

0 comments on commit 6d482b3

Please sign in to comment.