Skip to content

Commit eca9e9d

Browse files
committed
update
1 parent 9e6e74e commit eca9e9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/reaction_network.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ function make_reaction_system(ex::Expr; name = :(gensym(:ReactionSystem)))
362362

363363
# Reads options.
364364
default_reaction_metadata = :([])
365+
check_default_noise_scaling!(default_reaction_metadata, options)
365366
compound_expr, compound_species = read_compound_options(options)
366367
check_default_noise_scaling!(default_reaction_metadata, options)
367368
default_reaction_metadata = expr_equal_vector_to_pairs(default_reaction_metadata)
@@ -601,7 +602,7 @@ function get_reactions(exprs::Vector{Expr}, reactions = Vector{ReactionStruct}(u
601602
for line in exprs
602603
# Reads core reaction information.
603604
arrow, rate, reaction, metadata = read_reaction_line(line)
604-
605+
605606
# Checks the type of arrow used, and creates the corresponding reaction(s). Returns them in an array.
606607
if in(arrow, double_arrows)
607608
if typeof(rate) != Expr || rate.head != :tuple

0 commit comments

Comments
 (0)