Skip to content

Commit 0ddb5fb

Browse files
committed
fix substitute_expr! deprec warning
1 parent 1eaa06f commit 0ddb5fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/reaction/reactionsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function jumpratelaw(rx)
149149
@unpack rate, substrates, substoich, only_use_rate = rx
150150
rl = deepcopy(rate)
151151
for op in get_variables(rx.rate)
152-
rl = substitute_expr!(rl,op=>var2op(op.op))
152+
rl = substitute(rl,op=>var2op(op.op))
153153
end
154154
if !only_use_rate
155155
for (i,stoich) in enumerate(substoich)

0 commit comments

Comments
 (0)