You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -387,12 +387,12 @@ law, i.e. for `2S -> 0` at rate `k` the ratelaw would be `k*S^2/2!`. If
387
387
`combinatoric_ratelaws=false` then the ratelaw is `k*S^2`, i.e. the scaling factor is
388
388
ignored.
389
389
"""
390
-
function Base.convert(::Type{<:SDESystem},rs::ReactionSystem, combinatoric_ratelaws=true; noise_scaling=nothing::Union{Vector{Symbol},Symbol,Nothing})
391
-
(typeof(noise_scaling) <:Vector{Symbol}) && (length(noise_scaling)!=length(rs.eqs)) &&error("The number of elements in 'noise_scaling' must be equal to the number of reactions in the reaction system.")
function Base.convert(::Type{<:SDESystem},rs::ReactionSystem, combinatoric_ratelaws=true; noise_scaling=nothing::Union{Vector{Operation},Operation,Nothing})
391
+
(typeof(noise_scaling) <:Vector{Operation}) && (length(noise_scaling)!=length(rs.eqs)) &&error("The number of elements in 'noise_scaling' must be equal to the number of reactions in the reaction system.")
0 commit comments