mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-02 13:53:07 +00:00
commit
cbfd19edb7
@ -38,11 +38,7 @@ fn fft_dispatch<F: Field>(
|
||||
zero_factor: Option<usize>,
|
||||
root_table: Option<&FftRootTable<F>>,
|
||||
) {
|
||||
let computed_root_table = if root_table.is_some() {
|
||||
None
|
||||
} else {
|
||||
Some(fft_root_table(input.len()))
|
||||
};
|
||||
let computed_root_table = root_table.is_none().then(|| fft_root_table(input.len()));
|
||||
let used_root_table = root_table.or(computed_root_table.as_ref()).unwrap();
|
||||
|
||||
fft_classic(input, zero_factor.unwrap_or(0), used_root_table);
|
||||
|
||||
@ -126,8 +126,6 @@ where
|
||||
);
|
||||
|
||||
// Permutation arguments.
|
||||
|
||||
let constraint_degree = stark.constraint_degree();
|
||||
let lookup_challenges = stark.uses_lookups().then(|| {
|
||||
if let Some(c) = ctl_challenges {
|
||||
c.challenges.iter().map(|ch| ch.beta).collect::<Vec<_>>()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user