Skip to content

Commit 3bb28fd

Browse files
committed
Fix bug
1 parent c3e74fb commit 3bb28fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc_extras/statespace/models/structural/components/seasonality.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def __init__(
239239
if observed_state_names is None:
240240
observed_state_names = ["data"]
241241

242-
if season_length <= 1 or not isinstance(duration, int):
242+
if season_length <= 1 or not isinstance(season_length, int):
243243
raise ValueError(
244244
f"season_length must be an integer greater than 1, got {season_length}"
245245
)

0 commit comments

Comments
 (0)