Open gussmith23 opened 4 months ago
@oflatt thinks this may not be needed; he thinks that perhaps I'm doing something that's causing the egraph to not be rebuilt, which is causing this issue.
Note that doing a manual rebuild before calling extract_variants
without this PR doesn't work in my case.
@gussmith23 Do you have a branch where we can reproduce this issue? It seems like a rebuilding bug we'd like to look into.
The missing call to
find
meant that this code wasn't always figuring out when two Values were in the same eclass.