Skip to content

Commit

Permalink
Update src/aggregators/prioritytable.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Isaacson <[email protected]>
  • Loading branch information
vyudu and isaacsas authored Oct 16, 2024
1 parent 0fe9ff4 commit 76b61e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aggregators/prioritytable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 76b61e5

Please sign in to comment.