From eff9c56d8e415d5d1871d3aa62a739f5470a9807 Mon Sep 17 00:00:00 2001 From: caojiafeng Date: Thu, 24 Oct 2024 14:31:33 +0800 Subject: [PATCH] fix(evaluation): fix the wrong eval_data of input_evaluator in shuffle (#370) evaluation: fix the wrong eval_data of input_evaluator in shuffle --- halo2_backend/src/plonk/evaluation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/halo2_backend/src/plonk/evaluation.rs b/halo2_backend/src/plonk/evaluation.rs index f22f6542b..14a4d8943 100644 --- a/halo2_backend/src/plonk/evaluation.rs +++ b/halo2_backend/src/plonk/evaluation.rs @@ -573,7 +573,7 @@ impl Evaluator { parallelize(&mut values, |values, start| { let input_evaluator = &self.shuffles[2 * n]; let shuffle_evaluator = &self.shuffles[2 * n + 1]; - let mut eval_data_input = shuffle_evaluator.instance(); + let mut eval_data_input = input_evaluator.instance(); let mut eval_data_shuffle = shuffle_evaluator.instance(); for (i, value) in values.iter_mut().enumerate() { let idx = start + i;