From 6a5799cc2ed65a7481f9d1e9142b9039f78db188 Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen Date: Thu, 5 Oct 2023 17:27:26 -0700 Subject: [PATCH] Add missing initialization of node_cmp_ member. --- kernel/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/utils.h b/kernel/utils.h index 5a1279ef0..31a8681f1 100644 --- a/kernel/utils.h +++ b/kernel/utils.h @@ -134,7 +134,7 @@ template , typename OPS = hash_ops> cla // We use this ordering of the edges in the adjacency matrix for // exact compatibility with an older implementation. struct IndirectCmp { - IndirectCmp(const std::vector &nodes) : nodes_(nodes) {} + IndirectCmp(const std::vector &nodes) : node_cmp_(), nodes_(nodes) {} bool operator()(int a, int b) const { log_assert(static_cast(a) < nodes_.size());