Skip to content

Commit

Permalink
[WA] fake argument for lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
guangyuz committed Aug 16, 2022
1 parent e5c0224 commit 75cdde3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions halo2_proofs/src/plonk/circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,7 @@ impl<F: Field> ConstraintSystem<F> {
/// they need to match.
pub fn lookup(
&mut self,
_name: &'static str,
table_map: impl FnOnce(&mut VirtualCells<'_, F>) -> Vec<(Expression<F>, TableColumn)>,
) -> usize {
let mut cells = VirtualCells::new(self);
Expand All @@ -1028,6 +1029,7 @@ impl<F: Field> ConstraintSystem<F> {
/// with the work around, the table column can be any type.
pub fn lookup_any(
&mut self,
_name: &'static str,
table_map: impl FnOnce(&mut VirtualCells<'_, F>) -> Vec<(Expression<F>, Expression<F>)>,
) -> usize {
let mut cells = VirtualCells::new(self);
Expand Down

0 comments on commit 75cdde3

Please sign in to comment.