Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MaiBe-ctrl committed Aug 5, 2024
1 parent 421677e commit 067a6af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions neuralprophet/time_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ def __init__(

def precompute_seasonality_terms(self):
precomputed_terms = OrderedDict()
if self.config_seasonality is None:
return precomputed_terms

for name, period in self.config_seasonality.periods.items():
if period.resolution > 0:
Expand Down

0 comments on commit 067a6af

Please sign in to comment.