diff options
-rw-r--r-- | benchmark/bench_bitvec.cpp | 2 | ||||
-rw-r--r-- | benchmark/bench_hilbert.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/bench_bitvec.cpp b/benchmark/bench_bitvec.cpp index 433274c..0eed895 100644 --- a/benchmark/bench_bitvec.cpp +++ b/benchmark/bench_bitvec.cpp @@ -243,7 +243,7 @@ template<template<class U, size_t M> class Bench, size_t N> void bench_row(Context& ctx, std::ostream& os) { - std::array<Duration, 4> results = { + const std::array<Duration, 4> results = { ((N <= chilbert::SmallBitVec::bits_per_rack) ? Bench<chilbert::SmallBitVec, N>{}(ctx) : Duration{}), diff --git a/benchmark/bench_hilbert.cpp b/benchmark/bench_hilbert.cpp index 6973fa3..b8cd9d6 100644 --- a/benchmark/bench_hilbert.cpp +++ b/benchmark/bench_hilbert.cpp @@ -42,7 +42,7 @@ template<template<class H, size_t M, size_t D> class Bench, size_t M, size_t D> void bench_row(Context& ctx, std::ostream& os) { - std::array<Duration, 4> results = { + const std::array<Duration, 4> results = { ((M * D <= chilbert::SmallBitVec::bits_per_rack) ? Bench<chilbert::SmallBitVec, M, D>{}(ctx) : Duration{}), |