Skip to content

Commit e96a897

Browse files
committed
update ReactionSystem constructors for defaults
1 parent 7f56d04 commit e96a897

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/networkapi.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ Construct an empty [`ReactionSystem`](@ref). `iv` is the independent variable,
283283
usually time, and `name` is the name to give the `ReactionSystem`.
284284
"""
285285
function make_empty_network(; iv=DEFAULT_IV, name=gensym(:ReactionSystem))
286-
ReactionSystem(Reaction[], iv, [], [], Equation[], name, ReactionSystem[])
286+
ReactionSystem(Reaction[], iv, [], [], Equation[], name, ReactionSystem[], Dict())
287287
end
288288

289289
"""

src/reaction_network.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ macro reaction_network(name::Symbol=gensym(:ReactionSystem))
125125
[],
126126
Equation[],
127127
$(QuoteNode(name)),
128-
ReactionSystem[])))
128+
ReactionSystem[],
129+
Dict())))
129130
end
130131

131132
### Macros used for manipulating, and successively builing up, reaction systems. ###

0 commit comments

Comments
 (0)