Skip to content

Commit

Permalink
CovModel: be less strict about key-word-only args (don't want to both…
Browse files Browse the repository at this point in the history
…er people)
  • Loading branch information
MuellerSeb committed Jun 15, 2023
1 parent 02806be commit d44c819
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ All notable changes to **GSTools** will be documented in this file.
- `vario_estimate` now forwards additional kwargs to `standard_bins` (`bin_no`, `max_dist`) [#308](https://github.com/GeoStat-Framework/GSTools/pull/308)

### Changes
- CovModels expect all arguments by keyword now (except `dim`) [#308](https://github.com/GeoStat-Framework/GSTools/pull/308)
- CovModels expect special arguments by keyword now [#308](https://github.com/GeoStat-Framework/GSTools/pull/308)
- always use f-strings internally [#283](https://github.com/GeoStat-Framework/GSTools/pull/283)

### Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion src/gstools/covmodel/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ class CovModel:
def __init__(
self,
dim=3,
*,
var=1.0,
len_scale=1.0,
nugget=0.0,
anis=1.0,
angles=0.0,
*,
integral_scale=None,
rescale=None,
latlon=False,
Expand Down

0 comments on commit d44c819

Please sign in to comment.