Skip to content

Commit

Permalink
fix: run clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
shuklaayush committed Nov 26, 2023
1 parent d047fb7 commit 9db1158
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion halo2-base/src/gates/flex_gate/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ impl<F: ScalarField> GateInstructions<F> for GateChip<F> {

self.inner_product(
ctx,
bits.iter().map(|x| *x),
bits.iter().copied(),
self.pow_of_two[..bits.len()].iter().map(|c| Constant(*c)),
)
}
Expand Down
2 changes: 1 addition & 1 deletion halo2-base/src/gates/range/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ pub trait RangeInstructions<F: ScalarField> {
{
self.gate().inner_product(
ctx,
limbs.iter().map(|x| *x),
limbs.iter().copied(),
self.gate()
.pow_of_two()
.iter()
Expand Down

0 comments on commit 9db1158

Please sign in to comment.