chose: fk20 benches clippy happy (#800)

This commit is contained in:
Caio 2024-10-03 01:43:46 -03:00 committed by GitHub
parent 563bf6f948
commit 93de3afaf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,4 @@
use ark_bls12_381::{Bls12_381, Fr, G1Affine, G1Projective}; use ark_bls12_381::{Bls12_381, Fr};
use ark_ec::AffineRepr;
use ark_ff::BigInt;
use ark_poly::univariate::DensePolynomial; use ark_poly::univariate::DensePolynomial;
use ark_poly::{EvaluationDomain, GeneralEvaluationDomain}; use ark_poly::{EvaluationDomain, GeneralEvaluationDomain};
use ark_poly_commit::kzg10::KZG10; use ark_poly_commit::kzg10::KZG10;
@ -36,7 +34,7 @@ fn compute_fk20_proofs_for_size(bencher: Bencher, size: usize) {
poly poly
}) })
.input_counter(move |_| ItemsCount::new(size)) .input_counter(move |_| ItemsCount::new(size))
.bench_refs(|(poly)| { .bench_refs(|poly| {
black_box(fk20_batch_generate_elements_proofs( black_box(fk20_batch_generate_elements_proofs(
poly, poly,
&GLOBAL_PARAMETERS, &GLOBAL_PARAMETERS,