Skip to content

Commit

Permalink
Fix queries of Lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
iquerejeta committed Dec 14, 2023
1 parent 9d30ff7 commit c1184bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions halo2_proofs/src/dev/cost_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ pub struct Lookup;

impl Lookup {
fn queries(&self) -> impl Iterator<Item = Poly> {
// - product commitments at x and x_inv
// - product commitments at x and \omega x
// - input commitments at x and x_inv
// - table commitments at x
let product = "0,-1".parse().unwrap();
let product = "0,1".parse().unwrap();

Check failure on line 72 in halo2_proofs/src/dev/cost_model.rs

View workflow job for this annotation

GitHub Actions / Bitrot check

the trait bound `Poly: FromStr` is not satisfied
let input = "0,-1".parse().unwrap();

Check failure on line 73 in halo2_proofs/src/dev/cost_model.rs

View workflow job for this annotation

GitHub Actions / Bitrot check

the trait bound `Poly: FromStr` is not satisfied
let table = "0".parse().unwrap();

Check failure on line 74 in halo2_proofs/src/dev/cost_model.rs

View workflow job for this annotation

GitHub Actions / Bitrot check

the trait bound `Poly: FromStr` is not satisfied

Expand Down Expand Up @@ -105,6 +105,7 @@ pub struct Shuffle;

impl Shuffle {
fn queries(&self) -> impl Iterator<Item = Poly> {
// Open shuffle product commitment at x and \omega x
let shuffle = "0, 1".parse().unwrap();

Check failure on line 109 in halo2_proofs/src/dev/cost_model.rs

View workflow job for this annotation

GitHub Actions / Bitrot check

the trait bound `Poly: FromStr` is not satisfied

iter::empty().chain(Some(shuffle))
Expand Down

0 comments on commit c1184bb

Please sign in to comment.