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

NOT template in Gate.circom #73

Open
0xKarl98 opened this issue Jun 16, 2022 · 0 comments
Open

NOT template in Gate.circom #73

0xKarl98 opened this issue Jun 16, 2022 · 0 comments

Comments

@0xKarl98
Copy link

In this circom file , NOT gate is setting to be :

template NOT() {
signal input in;
signal output out;

out <== 1 + in - 2*in;

}

Why not just directly setting that as : out <== 1 - in ?

piotr-roslaniec pushed a commit to piotr-roslaniec/circomlib that referenced this issue Sep 18, 2024
Merge pull request iden3#72 from iden3/new_primes_added
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

No branches or pull requests

1 participant