Skip to content

Commit

Permalink
replace add with concat
Browse files Browse the repository at this point in the history
  • Loading branch information
amit0365 committed Oct 1, 2023
1 parent 4d13762 commit ce7d71d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plonkish_backend/src/accumulation/protostar/hyperplonk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ where
let l_sqrt = (2.0f64.powf(pp.num_vars as f64)).sqrt() as usize;
let powers_of_zeta_first_poly = powers_of_zeta_poly((l_sqrt-1).ilog2() as usize, zeta);
let powers_of_zeta_second_poly = powers_of_zeta_poly((l_sqrt-1).ilog2() as usize, zeta.pow(&[l_sqrt as u64]));
let powers_of_zeta_poly = powers_of_zeta_first_poly.add(&powers_of_zeta_second_poly);
let powers_of_zeta_poly = MultilinearPolynomial::new(powers_of_zeta_first_poly.evals().iter()
.chain(powers_of_zeta_second_poly.evals().iter()).cloned().collect());
end_timer(timer);

let powers_of_zeta_comm =
Expand Down

0 comments on commit ce7d71d

Please sign in to comment.