diff options
Diffstat (limited to 'test/test_utils.hpp')
-rw-r--r-- | test/test_utils.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_utils.hpp b/test/test_utils.hpp index 3388552..65bd1b1 100644 --- a/test/test_utils.hpp +++ b/test/test_utils.hpp @@ -69,7 +69,7 @@ template <size_t N, size_t D, size_t Max = 64> std::array<size_t, D> make_random_precisions(Context& ctx) { - std::array<size_t, D> ms; + std::array<size_t, D> ms{}; size_t bits_left = N; for (size_t i = 0; i < D; ++i) { @@ -85,7 +85,7 @@ template <size_t M, size_t D> std::array<uint64_t, D> make_random_point(Context& ctx) { - std::array<uint64_t, D> p; + std::array<uint64_t, D> p{}; for (size_t i = 0; i < D; ++i) { p[i] = rand_between(ctx, 0, (1UL << M) - 1); } |