From e3aa99448abe7c712ec7e41917e7be01a927a389 Mon Sep 17 00:00:00 2001 From: IRainman Date: Tue, 16 Sep 2025 21:45:58 +0300 Subject: [PATCH] # fix for stackvec constructor. --- include/fast_float/bigint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fast_float/bigint.h b/include/fast_float/bigint.h index 3fb1846..dc4db71 100644 --- a/include/fast_float/bigint.h +++ b/include/fast_float/bigint.h @@ -39,7 +39,7 @@ constexpr limb_t bigint_limbs = bigint_bits / limb_bits; // vector-like type that is allocated on the stack. the entire // buffer is pre-allocated, and only the length changes. template struct stackvec { - limb data[size]; + limb data[size] = {0}; // we never need more than 150 limbs uint_fast8_t length{0};