We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3e74fb commit 3bb28fdCopy full SHA for 3bb28fd
pymc_extras/statespace/models/structural/components/seasonality.py
@@ -239,7 +239,7 @@ def __init__(
239
if observed_state_names is None:
240
observed_state_names = ["data"]
241
242
- if season_length <= 1 or not isinstance(duration, int):
+ if season_length <= 1 or not isinstance(season_length, int):
243
raise ValueError(
244
f"season_length must be an integer greater than 1, got {season_length}"
245
)
0 commit comments