Skip to content

Commit

Permalink
batched ppsnark
Browse files Browse the repository at this point in the history
  • Loading branch information
adr1anh committed Nov 23, 2023
1 parent 66507af commit d15b333
Show file tree
Hide file tree
Showing 6 changed files with 1,494 additions and 138 deletions.
2 changes: 1 addition & 1 deletion src/r1cs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ impl<G: Group> R1CSShape<G> {
}

/// Pads the `R1CSShape` so that the number of variables is a power of two
/// Renumbers variables to accomodate padded variables
/// Renumbers variables to accommodate padded variables
pub fn pad(&self) -> Self {
// equalize the number of variables and constraints
let m = max(self.num_vars, self.num_cons).next_power_of_two();
Expand Down
Loading

0 comments on commit d15b333

Please sign in to comment.