Skip to content

Commit

Permalink
changed = + to += (#1349)
Browse files Browse the repository at this point in the history
  • Loading branch information
leoniewgnr authored Jun 14, 2023
1 parent b39b468 commit 9ea11d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neuralprophet/time_net.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ def forward(self, inputs: Dict, meta: Dict = None, compute_components_flag: bool
if "lags" in inputs:
stationarized_lags = inputs["lags"] - nonstationary_components
lags = self.auto_regression(lags=stationarized_lags)
additive_components = +lags
additive_components += lags
components["lags"] = lags

if "covariates" in inputs:
Expand Down

0 comments on commit 9ea11d7

Please sign in to comment.