diff --git a/gempy/library/matching.py b/gempy/library/matching.py index 1facc2b4f..a979b86d7 100644 --- a/gempy/library/matching.py +++ b/gempy/library/matching.py @@ -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: