Skip to content

Commit

Permalink
fix bug in using positional arg for reset
Browse files Browse the repository at this point in the history
  • Loading branch information
msamsami committed Jan 16, 2025
1 parent 406487f commit ddd3f09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wnb/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def validate_data(estimator, X, **kwargs: Any):
return check_array(X, estimator=estimator, **kwargs)

def _check_n_features(estimator, X, reset):
return estimator._check_n_features(X, reset)
return estimator._check_n_features(X, reset=reset)

def _check_feature_names(estimator, X, reset):
return estimator._check_feature_names(X, reset)
def _check_feature_names(estimator, X, *, reset):
return estimator._check_feature_names(X, reset=reset)

0 comments on commit ddd3f09

Please sign in to comment.