Skip to content

Commit

Permalink
Merge pull request #549 from zcash/patch-cost-model-lookup
Browse files Browse the repository at this point in the history
cost-model.rs: Correct lookup required degree calculation.
  • Loading branch information
str4d authored Apr 18, 2022
2 parents 1e6bb51 + 066bd15 commit dc2e454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion halo2_proofs/examples/cost-model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl FromStr for Lookup {

impl Lookup {
fn required_degree(&self) -> usize {
1 + cmp::max(1, self.input_deg) + cmp::max(1, self.table_deg)
2 + cmp::max(1, self.input_deg) + cmp::max(1, self.table_deg)
}

fn queries(&self) -> impl Iterator<Item = Poly> {
Expand Down

0 comments on commit dc2e454

Please sign in to comment.