Skip to content

Commit 7331c04

Browse files
committed
revert back to optimized ismassaction
1 parent e9bb455 commit 7331c04

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/systems/reaction/reactionsystem.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ explicitly on the independent variable (usually time).
299299
function ismassaction(rx, rs; rxvars = get_variables(rx.rate),
300300
haveivdep = any(var -> isequal(rs.iv,convert(Variable,var)), rxvars),
301301
stateset = Set(states(rs)))
302-
return !(haveivdep || rx.only_use_rate || any(convert(Variable,rxv) in states(rs) for rxv in rxvars))
303302
# if no dependencies must be zero order
304303
(length(rxvars)==0) && return true
305304
(haveivdep || rx.only_use_rate) && return false

0 commit comments

Comments
 (0)