diff --git a/core/src/stark/permutation.rs b/core/src/stark/permutation.rs index a76b4c8995..865397d5d4 100644 --- a/core/src/stark/permutation.rs +++ b/core/src/stark/permutation.rs @@ -65,7 +65,7 @@ pub(crate) fn generate_permutation_trace>( sends: &[Interaction], receives: &[Interaction], preprocessed: Option<&RowMajorMatrix>, - main: &mut RowMajorMatrix, + main: &RowMajorMatrix, random_elements: &[EF], batch_size: usize, ) -> RowMajorMatrix { @@ -96,13 +96,13 @@ pub(crate) fn generate_permutation_trace>( Some(prep) => { permutation_trace .par_rows_mut() - .zip_eq(prep.par_rows()) - .zip_eq(main.par_rows()) + .zip_eq(prep.par_row_slices()) + .zip_eq(main.par_row_slices()) .for_each(|((row, prep_row), main_row)| { populate_permutation_row( row, - prep_row.collect::>().as_slice(), - main_row.collect::>().as_slice(), + prep_row, + main_row, sends, receives, alpha, @@ -114,7 +114,7 @@ pub(crate) fn generate_permutation_trace>( None => { permutation_trace .par_rows_mut() - .zip_eq(main.par_rows_mut()) + .zip_eq(main.par_row_slices()) .for_each(|(row, main_row)| { populate_permutation_row( row, diff --git a/recursion/program/src/machine/core.rs b/recursion/program/src/machine/core.rs index 2c1c74fc5e..1b86351109 100644 --- a/recursion/program/src/machine/core.rs +++ b/recursion/program/src/machine/core.rs @@ -263,8 +263,6 @@ where // Assert that exit code is the same for all proofs. builder.assert_felt_eq(exit_code, public_values.exit_code); - // Assert that the committed value digests are all the same. - // Assert that the deferred proof digest is the same for all proofs. for (digest, current_digest) in deferred_proofs_digest .iter()