Skip to content

Commit

Permalink
simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
Tortar authored Aug 12, 2024
1 parent 8ac93db commit 00fad69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/model_event_queue.jl
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function EventQueueABM(

# the queue stores pairs of (agent ID, event index) mapping them to their trigger time
queue = BinaryHeap(
Base.Order.By{typeof(last), DataStructures.FasterForward}(last, DataStructures.FasterForward()),
Base.By(last, DataStructures.FasterForward()),
Pair{Tuple{Int, Int}, Float64}[]
)

Expand Down

0 comments on commit 00fad69

Please sign in to comment.