diff --git a/src/fourier/details/euclidian_transform.hpp b/src/fourier/details/euclidian_transform.hpp index b533227..8faba32 100644 --- a/src/fourier/details/euclidian_transform.hpp +++ b/src/fourier/details/euclidian_transform.hpp @@ -163,7 +163,7 @@ namespace CosmoTool template static std::vector make_3d_vector(T2 a, T2 b, T2 c) { - T2 arr[2] = { a, b, c}; + T2 arr[3] = { a, b, c}; return std::vector(&arr[0], &arr[3]); }