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 aaa71db commit 8464681
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 @@ -77,10 +77,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();
let input = "0,-1".parse().unwrap();
let table = "0".parse().unwrap();

Expand Down Expand Up @@ -116,6 +116,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();

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

0 comments on commit 8464681

Please sign in to comment.