Skip to content

Commit

Permalink
fit_variogram: 'full_output' only valid input for method 'lm' which i…
Browse files Browse the repository at this point in the history
…s not allowed here
  • Loading branch information
MuellerSeb committed Apr 14, 2021
1 parent 854fdb0 commit b50e3e3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gstools/covmodel/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ def fit_variogram(
)
# check curve_fit kwargs
curve_fit_kwargs = {} if curve_fit_kwargs is None else curve_fit_kwargs
curve_fit_kwargs.pop("full_output", None) # no full output (pylint W0632)
# check method
if method not in ["trf", "dogbox"]:
raise ValueError("fit: method needs to be either 'trf' or 'dogbox'")
Expand Down

0 comments on commit b50e3e3

Please sign in to comment.