Skip to content

Commit

Permalink
Update benchmark function name
Browse files Browse the repository at this point in the history
  • Loading branch information
mhovd committed Dec 30, 2023
1 parent 340022b commit cdbd5d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/benchmarks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use criterion::{black_box, criterion_group, criterion_main, Criterion};

/// Benchmark the Sobol initialization routine using 1000 points in 10 dimensions
fn benchmark_sobol(c: &mut Criterion) {
c.bench_function("adaptive_grid", |b| {
c.bench_function("sobol", |b| {
b.iter(|| {
let _ = npcore::routines::initialization::sobol::generate(
black_box(1000),
Expand Down

0 comments on commit cdbd5d4

Please sign in to comment.