diff --git a/src/folding/hypernova/circuit.rs b/src/folding/hypernova/circuit.rs index 2be4401f..37df9540 100644 --- a/src/folding/hypernova/circuit.rs +++ b/src/folding/hypernova/circuit.rs @@ -73,11 +73,11 @@ impl SumCiMulProdThetajGadget { /// Returns a vector of thetas for a corresponding $S_i$ /// An helper function to run before computing $\Pi_{j \in S_i} \theta_j$ in a circuit. pub fn get_prepared_thetas( - S: &Vec, + S_i: &Vec, thetas: &Vec, ) -> Vec { let mut prepared: Vec = Vec::new(); - for j in S { + for j in S_i { prepared.push(thetas[*j]); } prepared