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 infinite loop in AST prune #419

Merged

Conversation

TristonianJones
Copy link
Collaborator

The termination condition for generating ids when pruning an AST was incorrect. It was trying to find the next id after the last one observed in the eval state, but it should have just been picking the first id not recorded in the eval state and returning it.

Fixes #418

@TristonianJones TristonianJones merged commit f86a886 into google:master Mar 25, 2021
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.

Infinite loop in ResidualAst
2 participants