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 collapsed RND nodes into one RND node in optimized circuits #3

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

Conversation

hellman
Copy link
Collaborator

@hellman hellman commented Jun 14, 2024

Currently, OptArithmeticCircuit collapses all RND nodes into one, since it is the same operation + same arguments (no arguments). This is wrong, since each RND should be distinct. There is already a PRECOMPUTABLE flag for operations which is false for RND, so it makes sense to disable caching for these operations.

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.

1 participant