Skip to content

Commit f92e7a2

Browse files
committed
add noise scaling
1 parent ed1b36d commit f92e7a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/reaction.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,10 @@ function MT.collect_vars!(unknowns, parameters, rx::Reaction, iv; depth = 0,
365365
for prodstoich in rx.prodstoich
366366
MT.collect_vars!(unknowns, parameters, prodstoich, iv; depth, op)
367367
end
368+
if hasnoisescaling(rx)
369+
ns = getnoisescaling(rx)
370+
MT.collect_vars!(unknowns, parameters, ns, iv; depth, op)
371+
end
368372
return nothing
369373
end
370374

0 commit comments

Comments
 (0)