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 ac12938 commit 3eb7b23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aggregators/prioritytable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,8 @@ function rebuild!(ptt::PriorityTimeTable{T, F}, mintime, timestep) where {T, F}
ptt.minbin = findfirst(g -> g.numpids > (0), groups)
ptt.minbin === nothing && (ptt.minbin = 0)
ptt.steps = 0

return nothing
end

# Get the reaction with the earliest timestep.
Expand Down

0 comments on commit 3eb7b23

Please sign in to comment.