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

Better error message context when compiling a circuit twice is non deterministic #168

Closed
gbotrel opened this issue Nov 8, 2021 · 0 comments
Assignees

Comments

@gbotrel
Copy link
Collaborator

gbotrel commented Nov 8, 2021

The test/Assert helper will compile circuit twice to ensure the output constraint system is deterministic.

If Compile mutates the circuit (user-defined logic in Define), then the error from the assert should be contextualized (ie. "non deterministic compilation: %v error").

@gbotrel gbotrel self-assigned this Nov 8, 2021
gbotrel added a commit that referenced this issue Nov 8, 2021
@gbotrel gbotrel closed this as completed Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant