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 692939c commit f8e3475Copy full SHA for f8e3475
test/downstream/modelingtoolkit_remake.jl
@@ -70,7 +70,7 @@ push!(probs, OptimizationProblem(optsys, u0, p))
70
k = ShiftIndex(t)
71
@mtkcompile discsys = System(
72
[x ~ x(k - 1) * ρ + y(k - 2), y ~ y(k - 1) * σ - z(k - 2), z ~ z(k - 1) * β + x(k - 2)],
73
- t; defaults = [x => 1.0, y => 1.0, z => 1.0])
+ t; defaults = [x => 1.0, y => 1.0, z => 1.0, x(k-1) => 0.0, y(k-1) => 0.0, z(k-1) => 0.0])
74
# Roundabout method to avoid having to specify values for previous timestep
75
discprob = DiscreteProblem(discsys, p, (0, 10))
76
for (var, v) in u0
0 commit comments