From 59de424f9664bffd7d313cf11ebaca16263ddde0 Mon Sep 17 00:00:00 2001 From: birds3345 <31601136+birds3345@users.noreply.github.com> Date: Wed, 17 Jul 2024 13:37:49 -0400 Subject: [PATCH] remove asserts Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com> --- EqSat/src/UnionFind.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/EqSat/src/UnionFind.cpp b/EqSat/src/UnionFind.cpp index f42b8a17..7b1cb670 100644 --- a/EqSat/src/UnionFind.cpp +++ b/EqSat/src/UnionFind.cpp @@ -41,9 +41,6 @@ Id UnionFind::find(Id id) void UnionFind::merge(Id a, Id b) { - LUAU_ASSERT(size_t(a) < parents.size()); - LUAU_ASSERT(size_t(b) < parents.size()); - Id aSet = find(a); Id bSet = find(b); if (aSet == bSet)