mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-05-28 12:49:54 +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
|
rows
|
||||||
}
|
}
|
||||||
|
|
||||||
fn generate_trace_rows_for_perm(
|
fn generate_trace_rows_for_perm(&self, input: [u64; NUM_INPUTS]) -> Vec<[F; NUM_COLUMNS]> {
|
||||||
&self,
|
let mut rows = vec![[F::ZERO; NUM_COLUMNS]; NUM_ROUNDS];
|
||||||
input: [u64; NUM_INPUTS],
|
|
||||||
) -> [[F; NUM_COLUMNS]; NUM_ROUNDS] {
|
|
||||||
let mut rows = [[F::ZERO; NUM_COLUMNS]; NUM_ROUNDS];
|
|
||||||
|
|
||||||
// Populate the preimage for each row.
|
// Populate the preimage for each row.
|
||||||
for round in 0..24 {
|
for round in 0..24 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user