Skip to content

Commit

Permalink
fix bench code
Browse files Browse the repository at this point in the history
  • Loading branch information
alxiong committed May 11, 2023
1 parent 5f073ec commit 6492ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions primitives/benches/pcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mod bench {
use ark_bls12_381::{Bls12_381, Fr};
use ark_ff::UniformRand;
use ark_poly::{DenseMultilinearExtension, MultilinearExtension};
use ark_std::sync::Arc;
use ark_std::rc::Rc;
use jf_primitives::pcs::{
prelude::{MultilinearKzgPCS, PCSError, PolynomialCommitmentScheme},
StructuredReferenceString,
Expand All @@ -36,7 +36,7 @@ mod bench {
10
};

let poly = Arc::new(DenseMultilinearExtension::rand(nv, &mut rng));
let poly = Rc::new(DenseMultilinearExtension::rand(nv, &mut rng));
let (ml_ck, ml_vk) = uni_params.0.trim(nv)?;
let (uni_ck, uni_vk) = uni_params.1.trim(nv)?;
let ck = (ml_ck, uni_ck);
Expand Down

0 comments on commit 6492ee6

Please sign in to comment.