From 4113183155b31ec36b8ee90e051d7e1a12b1e4e5 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Thu, 1 Aug 2024 14:01:41 -0700 Subject: [PATCH] Attempt to fix likely arm bug --- ConflictSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConflictSet.cpp b/ConflictSet.cpp index bfb683a..d1f8ef2 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -959,7 +959,7 @@ template Node *getChildGeqSimd(NodeT *self, int child) { static_assert(NodeT::kMaxNodes <= 16); assume(self->numChildren <= NodeT::kMaxNodes); uint64_t mask = self->numChildren == 16 - ? uint64_t(nullptr) + ? uint64_t(-1) : (uint64_t(1) << (self->numChildren * 4)) - 1; // 0xf for each 0xff (within mask) uint64_t bitfield =