Skip to content

Commit

Permalink
refactor: clearer arg name
Browse files Browse the repository at this point in the history
  • Loading branch information
dmpierre committed Jan 10, 2024
1 parent 804ca14 commit 5888771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/folding/hypernova/circuit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ impl<F: PrimeField> SumCiMulProdThetajGadget<F> {
/// 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<C: CurveGroup>(
S: &Vec<usize>,
S_i: &Vec<usize>,
thetas: &Vec<C::ScalarField>,
) -> Vec<C::ScalarField> {
let mut prepared: Vec<C::ScalarField> = Vec::new();
for j in S {
for j in S_i {
prepared.push(thetas[*j]);
}
prepared
Expand Down

0 comments on commit 5888771

Please sign in to comment.