aboutsummaryrefslogtreecommitdiffstats
path: root/test/bench_hilbert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/bench_hilbert.cpp')
-rw-r--r--test/bench_hilbert.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/bench_hilbert.cpp b/test/bench_hilbert.cpp
index c5f1ad9..e216efe 100644
--- a/test/bench_hilbert.cpp
+++ b/test/bench_hilbert.cpp
@@ -33,8 +33,7 @@ struct BenchCoordsToIndex
const auto p = make_random_point<M, D>(ctx);
H ha = make_zero_bitvec<H, D * M>();
- return run_bench(
- [&](auto) { chilbert::coords_to_index(p.data(), M, D, ha); });
+ return run_bench([&](auto) { chilbert::coords_to_index(p, M, D, ha); });
}
};
@@ -46,8 +45,7 @@ struct BenchIndexToCoords
auto p = make_random_point<M, D>(ctx);
const H ha = make_random_bitvec<H, D * M>(ctx);
- return run_bench(
- [&](auto) { chilbert::index_to_coords(p.data(), M, D, ha); });
+ return run_bench([&](auto) { chilbert::index_to_coords(p, M, D, ha); });
}
};