From 91a4ba366c76fdb1340e221e7f92ea37ad730495 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 10 Dec 2022 12:41:07 -0800 Subject: [PATCH] sparse: fix comment typo --- lib/sparse/BinaryHeap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sparse/BinaryHeap.h b/lib/sparse/BinaryHeap.h index 2275cc8c8..54cd1e296 100644 --- a/lib/sparse/BinaryHeap.h +++ b/lib/sparse/BinaryHeap.h @@ -37,7 +37,7 @@ struct BinaryHeap_struct { pos_to_id[id_to_pos[i]] = i, for i not in the id_stack & i < length(id_stack)+len id_to_pos[pos_to_id[i]] = i, 0 <= i < len */ - int_stack_t id_stack;/* a stack that store IDs that is no longer used, to + int_stack_t id_stack;/* a stack that stores IDs that are no longer used, to be assigned to newly inserted elements. For sanity check, the union of items in the id_stack, and that is pos_to_id[1:len], -- 2.40.0