Skip to content

Commit

Permalink
Merge pull request #267 from nsajko/t
Browse files Browse the repository at this point in the history
remove unbound type parameters
  • Loading branch information
ChrisRackauckas committed Sep 8, 2022
2 parents 222acf1 + dd7789c commit 23aa6ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/aggregators/rdirect.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function RDirectJumpAggregation(nj::Int, njt::T, et::T, crs::Vector{T}, sr::T, m
rs::F1, affs!::F2, sps::Tuple{Bool, Bool}, rng::RNG;
num_specs, counter_threshold = length(crs),
dep_graph = nothing,
kwargs...) where {T, S, F1, F2, RNG, DEPGR}
kwargs...) where {T, S, F1, F2, RNG}
# a dependency graph is needed and must be provided if there are constant rate jumps
if dep_graph === nothing
if (get_num_majumps(maj) == 0) || !isempty(rs)
Expand Down
4 changes: 2 additions & 2 deletions src/jumps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,12 @@ function MassActionJump(usr::T, rs::S, ns::U, pmapper::V; scale_rates = true,
MassActionJump{T, S, U, V}(usr, rs, ns, pmapper, scale_rates, useiszero, nocopy)
end
function MassActionJump(usr::T, rs, ns; scale_rates = true, useiszero = true,
nocopy = false) where {T <: AbstractVector, S, U}
nocopy = false) where {T <: AbstractVector}
MassActionJump(usr, rs, ns, nothing; scale_rates = scale_rates, useiszero = useiszero,
nocopy = nocopy)
end
function MassActionJump(usr::T, rs, ns; scale_rates = true, useiszero = true,
nocopy = false) where {T <: Number, S, U}
nocopy = false) where {T <: Number}
MassActionJump(usr, rs, ns, nothing; scale_rates = scale_rates, useiszero = useiszero,
nocopy = nocopy)
end
Expand Down

0 comments on commit 23aa6ac

Please sign in to comment.