aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_hilbert.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-09-16 19:36:15 -0400
committerDavid Robillard <d@drobilla.net>2022-09-16 22:31:06 -0400
commit6ff6556a531e06217fe5e7ad86d2093b3c79ea7c (patch)
treed4ea2e353065b2d777bb8586e0160c2d667479a6 /test/test_hilbert.cpp
parent012b0de29906af6402a05a95eed0253a662df78b (diff)
downloadchilbert-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.cpp2
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);
}