Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
vyudu committed Sep 4, 2024
1 parent 0ab37c3 commit 44bb0c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dsl.jl
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ function make_reaction_system(ex::Expr; name = :(gensym(:ReactionSystem)))
# Collect species and parameters, including ones inferred from the reactions.
declared_syms = Set(Iterators.flatten((parameters_declared, species_declared,
variables)))
species_extracted, parameters_extracted = extract_species_and_parameters!(reactions, declared_syms)
species_extracted, parameters_extracted = extract_species_and_parameters!(
reactions, declared_syms)

species = vcat(species_declared, species_extracted)
parameters = vcat(parameters_declared, parameters_extracted)
Expand Down

0 comments on commit 44bb0c3

Please sign in to comment.