Skip to content

Commit

Permalink
slight code change to cope with different split of args/kwargs betwee…
Browse files Browse the repository at this point in the history
…n inspect.signature and inspect.getfullargspec
  • Loading branch information
chris-simpson committed Jan 10, 2025
1 parent 43e47f7 commit bba665b
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 @@ -387,7 +387,7 @@ def __call__(self, model, in_coords, ref_coords, in_weights=None,
if 'args' in arg_names or 'args' in kwarg_names:
kwargs['args'] = farg

if 'method' in arg_names:
if self._method is not None:
kwargs['method'] = self._method

if 'minimizer_kwargs' in arg_names:
Expand Down

0 comments on commit bba665b

Please sign in to comment.