From 70a15f01b9434d718e84cae127a70ae19f10052e Mon Sep 17 00:00:00 2001 From: Zhiyong Fang Date: Mon, 14 Oct 2024 18:40:03 -0500 Subject: [PATCH] minor --- sumcheck/src/scratch_pad.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sumcheck/src/scratch_pad.rs b/sumcheck/src/scratch_pad.rs index b8a44f37..fbe4df00 100644 --- a/sumcheck/src/scratch_pad.rs +++ b/sumcheck/src/scratch_pad.rs @@ -50,11 +50,17 @@ impl ProverScratchPad { eq_evals_at_r_mpi0: vec![C::ChallengeField::default(); mpi_world_size], eq_evals_first_half: vec![ C::ChallengeField::default(); - max(max_output_num, C::get_field_pack_size()) + max( + max(max_output_num, C::get_field_pack_size()), + mpi_world_size + ) ], eq_evals_second_half: vec![ C::ChallengeField::default(); - max(max_output_num, C::get_field_pack_size()) + max( + max(max_output_num, C::get_field_pack_size()), + mpi_world_size + ) ], gate_exists_5: vec![false; max_input_num],