Skip to content

Commit 32deeea

Browse files
committed
up
1 parent a782851 commit 32deeea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/network_analysis.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ function fluxmat(rn::ReactionSystem, pmap::Dict = Dict(); sparse=false)
220220
rcmap = reactioncomplexmap(rn)
221221
nc = length(rcmap)
222222
nr = length(rates)
223-
mtype = eltype(rates) <: Symbolics.BasicSymbolic ? Num : eltype(rates)
223+
mtype = eltype(rates) <: Symbolics.BasicSymbolic ? Any : eltype(rates)
224224
if sparse
225225
return fluxmat(SparseMatrixCSC{mtype, Int}, rcmap, rates)
226226
else
@@ -296,7 +296,7 @@ function massactionvector(rn::ReactionSystem, scmap::Dict = Dict(); combinatoric
296296
error("The supplied ReactionSystem has reactions that are not ismassaction. The mass action vector is only defined for pure mass action networks.")
297297
end
298298

299-
vtype = eltype(specs) <: Symbolics.BasicSymbolic ? Num : eltype(specs)
299+
vtype = eltype(specs) <: Symbolics.BasicSymbolic ? Any : eltype(specs)
300300
Φ = Vector{vtype}()
301301
rcmap = reactioncomplexmap(rn)
302302
for comp in keys(reactioncomplexmap(rn))

0 commit comments

Comments
 (0)