From 76b61e595fa4ebe51379aeaae171825c7ea3bf0f Mon Sep 17 00:00:00 2001 From: Vincent Du <54586336+vyudu@users.noreply.github.com> Date: Wed, 16 Oct 2024 14:32:22 -0400 Subject: [PATCH] Update src/aggregators/prioritytable.jl Co-authored-by: Sam Isaacson --- src/aggregators/prioritytable.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aggregators/prioritytable.jl b/src/aggregators/prioritytable.jl index e9425310..55e608f6 100644 --- a/src/aggregators/prioritytable.jl +++ b/src/aggregators/prioritytable.jl @@ -462,7 +462,7 @@ function update!(ptt::PriorityTimeTable{T, F}, pid, oldtime, newtime) where {T, # Move bins if the reaction was already inside. oldgid = timegrouper(oldtime) newgid = timegrouper(newtime) - oldgid == newgid && return + oldgid == newgid && return nothing @inbounds begin pidx = pidtogroup[pid][2] movedpid = remove!(groups[oldgid], pidx)