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

Use vectors instead of slices for PI #353

Merged

Conversation

davidnevadoc
Copy link

Description

Instances were being passed as a triple slice of field elements: &[&[&[F]]] in many functions.
It has been replaced for &[Vec<Vec<F>>].

Related issues

Closes #265

@davidnevadoc davidnevadoc requested review from ed255 and adria0 June 10, 2024 16:03
@davidnevadoc davidnevadoc marked this pull request as ready for review June 10, 2024 16:18
Instances were being passed as a triple slice of field elements: &[&[&[F]]]
in many functions. It has been replaced for `&[Vec<Vec<F>>]`.
Copy link

@guorong009 guorong009 left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

Copy link
Member

@adria0 adria0 left a comment

Choose a reason for hiding this comment

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

LGTM

@davidnevadoc davidnevadoc merged commit 32599e8 into privacy-scaling-explorations:main Jun 11, 2024
15 checks passed
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.

Discussion: Replace instances slice type for proving/verifying for Vec
3 participants