mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-08 08:43:06 +00:00
Fix stack overflow
This commit is contained in:
parent
8ba8bb62f2
commit
be7a489c6e
@ -74,11 +74,8 @@ impl<F: RichField + Extendable<D>, const D: usize> KeccakStark<F, D> {
|
||||
rows
|
||||
}
|
||||
|
||||
fn generate_trace_rows_for_perm(
|
||||
&self,
|
||||
input: [u64; NUM_INPUTS],
|
||||
) -> [[F; NUM_COLUMNS]; NUM_ROUNDS] {
|
||||
let mut rows = [[F::ZERO; NUM_COLUMNS]; NUM_ROUNDS];
|
||||
fn generate_trace_rows_for_perm(&self, input: [u64; NUM_INPUTS]) -> Vec<[F; NUM_COLUMNS]> {
|
||||
let mut rows = vec![[F::ZERO; NUM_COLUMNS]; NUM_ROUNDS];
|
||||
|
||||
// Populate the preimage for each row.
|
||||
for round in 0..24 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user