-
Notifications
You must be signed in to change notification settings - Fork 149
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
In fn logic_gate()
line 176, the true branch will never reach.
#414
Comments
And why we fix the
|
Hey thanks for the comment! I wrote this some time ago and it was translated from the C++ impl that Aztec has. See https://github.com/AztecProtocol/barretenberg/blob/9846939c0ce8879385664ac7ec723e0ca73ccd24/barretenberg/src/aztec/plonk/proof_system/widgets/turbo_logic_widget_impl.hpp#L133 We mostly guessed the impl from these comments. So I'll need to take a look again. What I can tell is:
|
I think we should change the code from:
to:
As we've actually add zero var for the last row of the program memory: |
Makes sense to me. Would you like to open a PR for this? Otherways we'll do so! |
I'll send the PR later. |
rm uncessary match branch mentioned in #414
Closed via #420 |
In
fn logic_gate()
line 176, the true branch will never reach, asi
will always be small thannum_quads
.The text was updated successfully, but these errors were encountered: