remove assert

This commit is contained in:
birds3345 2024-07-17 17:10:31 -04:00
parent 1cb6973100
commit db3fcb41a2

View file

@ -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(𝑎) = 𝑎.