diff --git a/include/llama/Array.hpp b/include/llama/Array.hpp index cb972ca764..5b6169e7f1 100644 --- a/include/llama/Array.hpp +++ b/include/llama/Array.hpp @@ -66,7 +66,7 @@ namespace llama LLAMA_FN_HOST_ACC_INLINE constexpr friend auto operator+(const Array& a, const Array& b) -> Array { - Array temp; + Array temp{}; for (std::size_t i = 0; i < N; ++i) temp[i] = a[i] + b[i]; return temp;