From db3fcb41a26abaa4693effe40c0c0657fd58adc7 Mon Sep 17 00:00:00 2001 From: birds3345 <31601136+birds3345@users.noreply.github.com> Date: Wed, 17 Jul 2024 17:10:31 -0400 Subject: [PATCH] remove assert --- EqSat/src/UnionFind.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/EqSat/src/UnionFind.cpp b/EqSat/src/UnionFind.cpp index d6f13a04..5c01e968 100644 --- a/EqSat/src/UnionFind.cpp +++ b/EqSat/src/UnionFind.cpp @@ -22,8 +22,6 @@ Id UnionFind::find(Id id) const Id UnionFind::find(Id id) { - LUAU_ASSERT(size_t(id) < parents.size()); - Id set = canonicalize(id); // An e-class id 𝑎 is canonical iff find(𝑎) = 𝑎.