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 72044e4 commit 4c6e061Copy full SHA for 4c6e061
src/systems/parameter_buffer.jl
@@ -43,10 +43,10 @@ function MTKParameters(
43
end
44
defs = merge(defs, u0)
45
defs = merge(Dict(eq.lhs => eq.rhs for eq in observed(sys)), defs)
46
- p = merge(defs, p)
+ bigdefs = merge(defs, p)
47
p = merge(Dict(unwrap(k) => v for (k, v) in p),
48
Dict(default_toterm(unwrap(k)) => v for (k, v) in p))
49
- p = Dict(unwrap(k) => fixpoint_sub(v, p) for (k, v) in p)
+ p = Dict(unwrap(k) => fixpoint_sub(v, bigdefs) for (k, v) in p)
50
for (sym, _) in p
51
if iscall(sym) && operation(sym) === getindex &&
52
first(arguments(sym)) in all_ps
0 commit comments