Skip to content

Commit 82c7730

Browse files
committed
don't enforce reactant type
1 parent 0598372 commit 82c7730

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/reaction.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,15 @@ struct Reaction{T}
142142
"""The rate function (excluding mass action terms)."""
143143
rate::Any
144144
"""Reaction substrates."""
145-
substrates::Vector{BasicSymbolic{Real}}
145+
substrates::Vector{Any}
146146
"""Reaction products."""
147-
products::Vector{BasicSymbolic{Real}}
147+
products::Vector{Any}
148148
"""The stoichiometric coefficients of the reactants."""
149149
substoich::Vector{T}
150150
"""The stoichiometric coefficients of the products."""
151151
prodstoich::Vector{T}
152152
"""The net stoichiometric coefficients of all species changed by the reaction."""
153-
netstoich::Vector{Pair{BasicSymbolic{Real}, T}}
153+
netstoich::Vector{Pair{Any, T}}
154154
"""
155155
`false` (default) if `rate` should be multiplied by mass action terms to give the rate law.
156156
`true` if `rate` represents the full reaction rate law.

0 commit comments

Comments
 (0)