From 7fd1c9e140fe6984ba4621a058bbf68b82a2e6cb Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Mon, 15 Jul 2024 17:23:48 -0700 Subject: [PATCH] Make range_read_iterations_total consistent with others --- ConflictSet.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ConflictSet.cpp b/ConflictSet.cpp index 227f4b5..f8aac2f 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -2706,10 +2706,9 @@ bool checkRangeReadImpl(Node *n, std::span begin, for (;;) { bool leftDone = checkRangeLeftSide.step(); - ++range_read_iterations_accum; bool rightDone = checkRangeRightSide.step(); - ++range_read_iterations_accum; if (!leftDone && !rightDone) { + range_read_iterations_accum += 2; continue; } if (leftDone && rightDone) {