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 eb561a9 commit aee61abCopy full SHA for aee61ab
test/structural_transformation/utils.jl
@@ -45,7 +45,7 @@ end
45
@variables x(t) y(t)[1:2] z(t)[1:2]
46
@parameters foo(::AbstractVector)[1:2]
47
_tmp_fn(x) = 2x
48
- @mtkbuild sys = ODESystem([D(x) ~ z[1] + z[2], y[1] ~ 2t, y[2] ~ 3t, z ~ foo(y)], t)
+ @mtkbuild sys = ODESystem([D(x) ~ z[1] + z[2] + foo(z)[1], y[1] ~ 2t, y[2] ~ 3t, z ~ foo(y)], t)
49
@test length(equations(sys)) == 1
50
@test length(observed(sys)) == 6
51
@test any(eq -> isequal(eq.lhs, y), observed(sys))
0 commit comments