Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix extract_variants by comparing against leader Value #391

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gussmith23
Copy link
Contributor

The missing call to find meant that this code wasn't always figuring out when two Values were in the same eclass.

@gussmith23 gussmith23 requested a review from a team as a code owner July 11, 2024 20:47
@gussmith23 gussmith23 requested review from mwillsey and removed request for a team July 11, 2024 20:47
@gussmith23
Copy link
Contributor Author

@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.

@gussmith23
Copy link
Contributor Author

Note that doing a manual rebuild before calling extract_variants without this PR doesn't work in my case.

@oflatt
Copy link
Member

oflatt commented Aug 8, 2024

@gussmith23 Do you have a branch where we can reproduce this issue? It seems like a rebuilding bug we'd like to look into.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants