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

Ruanpc/pi compress #75

Open
wants to merge 9 commits into
base: dev
Choose a base branch
from
Open

Ruanpc/pi compress #75

wants to merge 9 commits into from

Conversation

RUAN0007
Copy link
Collaborator

No description provided.

}

function NUM_COMPRESSED_INPUTS(num_input) {
if (num_input % 3 == 0) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can put 3 to constants, rather than hard code


var num_compressed_inputs = NUM_COMPRESSED_INPUTS(num_inputs);
signal output compressed_inputs[num_compressed_inputs];
signal pad0_public_inputs[num_compressed_inputs * 3];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here also

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.

2 participants