Skip to content

Commit 50defa2

Browse files
committed
cleanup
1 parent 637be25 commit 50defa2

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/systems/jumps/jumpsystem.jl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -185,17 +185,6 @@ function numericnstoich(mtrs::Vector{Pair{V,W}}, statetoid) where {V,W}
185185
sort!(ns)
186186
end
187187

188-
# assemble a numeric MassActionJump from a MT MassActionJump representing one rx.
189-
# function assemble_maj(maj::MassActionJump, statetoid, subber, invttype)
190-
# rval = subber(maj.scaled_rates)
191-
# rs = numericrstoich(maj.reactant_stoch, statetoid)
192-
# ns = numericnstoich(maj.net_stoch, statetoid)
193-
# maj = MassActionJump(convert(invttype, value(rval)), rs, ns, scale_rates = false)
194-
# maj
195-
# end
196-
197-
rstype(::MassActionJump{U,Vector{Pair{V,W}},X,Y}) where {U,V,W,X,Y} = W
198-
199188
# assemble a numeric MassActionJump from a MT symbolics MassActionJumps
200189
function assemble_maj(majv::Vector{U}, statetoid, pmapper, params) where {U <: MassActionJump}
201190
rs = [numericrstoich(maj.reactant_stoch, statetoid) for maj in majv]

0 commit comments

Comments
 (0)