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

Multi-Offset-Eq Constraints #415

Merged
merged 7 commits into from
Jul 23, 2024
Merged

Multi-Offset-Eq Constraints #415

merged 7 commits into from
Jul 23, 2024

Conversation

sragss
Copy link
Collaborator

@sragss sragss commented Jul 16, 2024

Expands the non-uniform offset eq constraints to support multiple constraints.

@sragss sragss marked this pull request as ready for review July 16, 2024 22:48
@sragss
Copy link
Collaborator Author

sragss commented Jul 17, 2024

Before merging: Make sure the allocated sizes of Az, Bz, Cz in buillder::compute_spartan_Az_Bz_Cz are correct.

Copy link
Collaborator

@moodlezoup moodlezoup left a comment

Choose a reason for hiding this comment

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

nice work, just one q

let row_constr_eq_non_uni =
EqPolynomial::new(r_row_constr.to_vec()).evaluate(&non_uni_constraint_index);

debug_assert_eq!(
Copy link
Collaborator

Choose a reason for hiding this comment

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

should this be a normal assert_eq!?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Shouldn't hurt perf much, switching.

Base automatically changed from sragss/sparse-spartan to main July 19, 2024 00:47
@sragss sragss merged commit d5147f8 into main Jul 23, 2024
3 checks passed
@sragss sragss deleted the sragss/multi-offset-eq branch July 23, 2024 15:23
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