diff options
author | David Robillard <d@drobilla.net> | 2022-09-16 19:36:15 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-09-16 22:31:06 -0400 |
commit | 6ff6556a531e06217fe5e7ad86d2093b3c79ea7c (patch) | |
tree | d4ea2e353065b2d777bb8586e0160c2d667479a6 /test/test_hilbert.cpp | |
parent | 012b0de29906af6402a05a95eed0253a662df78b (diff) | |
download | chilbert-6ff6556a531e06217fe5e7ad86d2093b3c79ea7c.tar.gz chilbert-6ff6556a531e06217fe5e7ad86d2093b3c79ea7c.tar.bz2 chilbert-6ff6556a531e06217fe5e7ad86d2093b3c79ea7c.zip |
Fix uninitialized members
Diffstat (limited to 'test/test_hilbert.cpp')
-rw-r--r-- | test/test_hilbert.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_hilbert.cpp b/test/test_hilbert.cpp index ac4bba1..a0a64c0 100644 --- a/test/test_hilbert.cpp +++ b/test/test_hilbert.cpp @@ -39,7 +39,7 @@ template <size_t D> std::array<uint64_t, D> make_random_point(Context& ctx, const std::array<size_t, D>& ms) { - 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 << ms[i]) - 1); } |