Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 9, 2024
1 parent 066d3f3 commit 58f0ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xclim/sdba/adjustment.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def train(cls, ref: DataArray, hist: DataArray, **kwargs) -> TrainAdjust:
cls._check_matching_times(ref, hist)
# We may also use a different time period for `hist` but still require
# it has the same size as `ref`'s time.
elif not cls._allow_diff_time_sizes:
elif not cls._allow_diff_time_sizes:
cls._check_matching_time_sizes(ref, hist)
hist["time"] = ref.time
ds, params = cls._train(ref, hist, **kwargs)
Expand Down

0 comments on commit 58f0ada

Please sign in to comment.