From 2793edf07d8dcf90f348ed64a3e960bdb63191f4 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Tue, 13 Feb 2024 16:37:55 -0800 Subject: [PATCH] Make ascend/descend + iter updates more consistent --- ConflictSet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ConflictSet.cpp b/ConflictSet.cpp index 3d750b6..c9df6a1 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -1079,8 +1079,8 @@ bool checkRangeRead(Node *n, const std::span begin, iter = iter->parent; } else { ascend(depth, lcp, iter, searchPath); - auto *result = getChildExists(iter->parent, next); - iter = result; + iter = iter->parent; + iter = getChildExists(iter, next); descend(depth, lcp, iter, end, searchPath); break; }