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 90524ba commit a55f782Copy full SHA for a55f782
src/reaction.jl
@@ -368,11 +368,14 @@ encountered in:
368
- Among potential noise scaling metadata.
369
"""
370
function ModelingToolkit.get_variables!(set, rx::Reaction)
371
+ if isdefined(Main, :Infiltrator)
372
+ Main.infiltrate(@__MODULE__, Base.@locals, @__FILE__, @__LINE__)
373
+ end
374
get_variables!(set, rx.rate)
375
append!(set, rx.substrates)
376
append!(set, rx.products)
377
for stoichs in (rx.substoich, rx.prodstoich), stoich in stoichs
- get_variables!(set, stoich)
378
+ (stoich isa BasicSymbolic) && get_variables!(set, stoich)
379
end
380
if has_noise_scaling(rx)
381
get_variables!(set, get_noise_scaling(rx))
0 commit comments