Skip to content

Commit

Permalink
update istree to iscall
Browse files Browse the repository at this point in the history
  • Loading branch information
paulflang committed Jun 26, 2024
1 parent 94c3cc8 commit bb5c078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reactions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Get rate constant of mass action kineticLaws
function get_massaction(kl::Num, reactants::Union{Vector{Num}, Nothing},
stoich::Union{Vector{<:Real}, Nothing})
function check_args(x::SymbolicUtils.BasicSymbolic{Real})
check_args(Val(SymbolicUtils.istree(x)), x)
check_args(Val(SymbolicUtils.iscall(x)), x)
end

function check_args(::Val{true}, x::SymbolicUtils.BasicSymbolic{Real})
Expand Down

0 comments on commit bb5c078

Please sign in to comment.