mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-05-04 01:03:09 +00:00
clippy fixes
This commit is contained in:
parent
3de92d9ed1
commit
3c776a8dbe
@ -136,7 +136,7 @@ fn fri_proof_of_work<F: RichField + Extendable<D>, C: GenericConfig<D, F = F>, c
|
|||||||
// obtaining our duplex's post-state which contains the PoW response.
|
// obtaining our duplex's post-state which contains the PoW response.
|
||||||
let mut duplex_intermediate_state = challenger.sponge_state;
|
let mut duplex_intermediate_state = challenger.sponge_state;
|
||||||
let witness_input_pos = challenger.input_buffer.len();
|
let witness_input_pos = challenger.input_buffer.len();
|
||||||
duplex_intermediate_state.set_from_iter(challenger.input_buffer.clone().into_iter(), 0);
|
duplex_intermediate_state.set_from_iter(challenger.input_buffer.clone(), 0);
|
||||||
|
|
||||||
let pow_witness = (0..=F::NEG_ONE.to_canonical_u64())
|
let pow_witness = (0..=F::NEG_ONE.to_canonical_u64())
|
||||||
.into_par_iter()
|
.into_par_iter()
|
||||||
|
|||||||
@ -58,6 +58,7 @@ pub(crate) fn selector_polynomials<F: RichField + Extendable<D>, const D: usize>
|
|||||||
)],
|
)],
|
||||||
SelectorsInfo {
|
SelectorsInfo {
|
||||||
selector_indices: vec![0; num_gates],
|
selector_indices: vec![0; num_gates],
|
||||||
|
#[allow(clippy::single_range_in_vec_init)]
|
||||||
groups: vec![0..num_gates],
|
groups: vec![0..num_gates],
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user