Skip to content

Commit

Permalink
remove crate for configure_with_tag
Browse files Browse the repository at this point in the history
  • Loading branch information
YaoGalteland committed Jun 4, 2024
1 parent 637abbc commit 9cef0b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion halo2_gadgets/src/utilities/cond_swap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ impl<F: PrimeField> CondSwapInstructionsOptimized<F> for CondSwapChip<F> {
}
}


impl CondSwapChip<pallas::Base> {
/// Given an input `(choice, left, right)` where `choice` is a boolean flag and `left` and `right` are `EccPoint`,
/// returns `left` if `choice` is not set and `right` if `choice` is set.
Expand Down
3 changes: 1 addition & 2 deletions halo2_gadgets/src/utilities/lookup_range_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl<F: PrimeFieldBits, const K: usize> LookupRangeCheckConfigOptimized<F, K> {
/// # Side-effects
///
/// Both the `running_sum` and `constants` columns will be equality-enabled.
pub(crate) fn configure_with_tag(
pub fn configure_with_tag(
meta: &mut ConstraintSystem<F>,
running_sum: Column<Advice>,
table_idx: TableColumn,
Expand All @@ -90,7 +90,6 @@ impl<F: PrimeFieldBits, const K: usize> LookupRangeCheckConfigOptimized<F, K> {
let q_lookup = meta.complex_selector();
let q_running = meta.complex_selector();
let q_bitshift = meta.selector();

let q_range_check_4 = meta.complex_selector();
let q_range_check_5 = meta.complex_selector();

Expand Down

0 comments on commit 9cef0b0

Please sign in to comment.