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 a4fa817 commit e4f4fe2Copy full SHA for e4f4fe2
Project.toml
@@ -1,7 +1,7 @@
1
name = "StateSpaceLearning"
2
uuid = "971c4b7c-2c4e-4bac-8525-e842df3cde7b"
3
authors = ["andreramosfc <[email protected]>"]
4
-version = "2.0.7"
+version = "2.0.8"
5
6
[deps]
7
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
src/models/structural_model.jl
@@ -1618,7 +1618,7 @@ function simulate_states(
1618
seasonals_t = [zeros(N_scenarios) for _ in eachindex(model.freq_seasonal)]
1619
end
1620
1621
- if model.cycle_period != 0
+ if model.cycle_period != 0 && model.cycle_period != []
1622
cycles_t = []
1623
for i in eachindex(model.cycle_period)
1624
λ = 2 * pi * (1:(T + steps_ahead)) / model.cycle_period[i]
0 commit comments