Skip to content

Commit 3e7fa80

Browse files
author
xiaoming
committed
Update coevolve.jl
this pull request is related to SciML#276 (comment)
1 parent 2afd123 commit 3e7fa80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aggregators/coevolve.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function CoevolveJumpAggregation(nj::Int, njt::T, et::T, crs::Vector{T}, sr::Not
2727
rng::RNG; u::U, dep_graph = nothing, lrates, urates,
2828
rateintervals, haslratevec) where {T, S, F1, F2, RNG, U}
2929
if dep_graph === nothing
30-
if (get_num_majumps(maj) == 0) || !isempty(rs)
30+
if (get_num_majumps(maj) == 0) || !isempty(urates)
3131
error("To use Coevolve a dependency graph between jumps must be supplied.")
3232
else
3333
dg = make_dependency_graph(length(u), maj)

0 commit comments

Comments
 (0)