From 5d6ad978e822b1c9f49475c953a9dbb70153391f Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Tue, 27 Nov 2012 20:10:40 -0500 Subject: [PATCH] Fixed initialization of 3d FFT --- src/fourier/details/euclidian_transform.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); }