diff --git a/ConflictSet.cpp b/ConflictSet.cpp index a07a14d..3dd430d 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -765,9 +765,8 @@ struct SearchStepWise { if (remaining.size() == 0) { return true; } else { - int c = getChildGeq(n, remaining[0]); - if (c == remaining[0]) { - auto *child = getChildExists(n, c); + auto *child = getChild(n, remaining[0]); + if (child != nullptr) { int i = 0; for (; i < child->partialKeyLen; ++i) { if (!(i + 1 < int(remaining.size()) &&