Multilinear PCS open refactor (#113)

* cherry-pick the commit and fix clippy

* fix multi-open test

* fix srs_gen test
This commit is contained in:
chancharles92
2023-01-09 16:53:00 -05:00
committed by GitHub
parent 858014e131
commit e70b421351
3 changed files with 34 additions and 31 deletions

View File

@@ -567,7 +567,7 @@ where
// check public evaluation
let pi_step = start_timer!(|| "check public evaluation");
let pi_poly = DenseMultilinearExtension::from_evaluations_slice(ell as usize, pub_input);
let pi_poly = DenseMultilinearExtension::from_evaluations_slice(ell, pub_input);
let expect_pi_eval = evaluate_opt(&pi_poly, &r_pi[..]);
if expect_pi_eval != *pi_eval {
return Err(HyperPlonkErrors::InvalidProver(format!(