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; }