Skip to content

Commit

Permalink
remove rogue error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Pratt committed Nov 22, 2023
1 parent 8a61596 commit 9826d80
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions benches/dapol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,13 @@ fn bench_build_tree(c: &mut Criterion) -> Result<(), &str> {
for h in TREE_HEIGHTS.into_iter() {
for t in thread_counts.iter() {
if *t > MaxThreadCount::default().get_value() {
// return Err("Number of threads exceeds maximum parallelism");
continue;
}

for u in NUM_USERS.into_iter() {
let max_users_for_height = 2_u64.pow((h - 1) as u32);

if u > max_users_for_height {
// return Err("Number of users exceeds maximum");
break;
}

Expand Down

0 comments on commit 9826d80

Please sign in to comment.