Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-camuto committed Aug 23, 2024
1 parent c77399d commit 8db8fa5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
3 changes: 2 additions & 1 deletion halo2_proofs/src/plonk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ impl<C: CurveAffine> VerifyingKey<C> {
+ self.permutation.bytes_length(format)
+ self.selectors.len()
* (self
.selectors.first()
.selectors
.first()
.map(|selector| (selector.len() + 7) / 8)
.unwrap_or(0))
}
Expand Down
7 changes: 2 additions & 5 deletions halo2_proofs/src/plonk/mv_lookup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,8 @@ impl<F: Field> Argument<F> {
input_degree
};

let inputs_expressions_degree: usize = self
.inputs_expressions
.iter()
.map(expr_degree)
.sum();
let inputs_expressions_degree: usize =
self.inputs_expressions.iter().map(expr_degree).sum();

let mut table_degree = 0;
for expr in self.table_expressions.iter() {
Expand Down
1 change: 0 additions & 1 deletion halo2_proofs/src/plonk/mv_lookup/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ use group::{
};
use rustc_hash::FxHashMap as HashMap;


use std::{
iter,
ops::{Mul, MulAssign},
Expand Down

0 comments on commit 8db8fa5

Please sign in to comment.