Skip to content

Commit

Permalink
Updating bench data_length after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
rrtoledo committed Jan 17, 2025
1 parent 4f353a3 commit 55ace81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benches/centralized_telescope/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ use common::criterion_helpers::centralized::BenchParam;
pub const NAME: &str = "Centralized";

/// Function generating a random set of elements to bench and calling Alba's centralized setup
pub fn setup(rng: &mut ChaCha20Rng, params: &BenchParam) -> (Vec<[u8; 32]>, CentralizedTelescope) {
pub fn setup(rng: &mut ChaCha20Rng, params: &BenchParam) -> (Vec<[u8; 48]>, CentralizedTelescope) {
let seed_u32 = rng.next_u32();
let seed = seed_u32.to_ne_bytes().to_vec();
let dataset: Vec<[u8; 32]> = test_utils::gen_items(&seed, params.total_num_elements);
let dataset: Vec<[u8; 48]> = test_utils::gen_items(&seed, params.total_num_elements);
let params = Params {
soundness_param: params.lambda_sec,
completeness_param: params.lambda_rel,
Expand Down

0 comments on commit 55ace81

Please sign in to comment.