Skip to content

Commit

Permalink
Update coevolve.jl
Browse files Browse the repository at this point in the history
this pull request is related to #276 (comment)
  • Loading branch information
xiaoming committed Jan 5, 2023
1 parent 2afd123 commit 3e7fa80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aggregators/coevolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function CoevolveJumpAggregation(nj::Int, njt::T, et::T, crs::Vector{T}, sr::Not
rng::RNG; u::U, dep_graph = nothing, lrates, urates,
rateintervals, haslratevec) where {T, S, F1, F2, RNG, U}
if dep_graph === nothing
if (get_num_majumps(maj) == 0) || !isempty(rs)
if (get_num_majumps(maj) == 0) || !isempty(urates)
error("To use Coevolve a dependency graph between jumps must be supplied.")
else
dg = make_dependency_graph(length(u), maj)
Expand Down

0 comments on commit 3e7fa80

Please sign in to comment.