summaryrefslogtreecommitdiffstats
path: root/tests/test_Fourier.cpp
diff options
context:
space:
mode:
authorjoergkappes <kappes@math.uni-heidelberg.de>2015-03-28 18:09:40 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2015-05-08 14:16:13 +0200
commit3f6079b9dc2e3b6f54f512f6eb9c47b913fcd1c7 (patch)
treeab660c7e974fded1c1de25c5c1b45cad3d663b32 /tests/test_Fourier.cpp
parent99f46882982b92c632869053ae0dd416312b02ff (diff)
downloadastra-3f6079b9dc2e3b6f54f512f6eb9c47b913fcd1c7.tar.gz
astra-3f6079b9dc2e3b6f54f512f6eb9c47b913fcd1c7.tar.bz2
astra-3f6079b9dc2e3b6f54f512f6eb9c47b913fcd1c7.tar.xz
astra-3f6079b9dc2e3b6f54f512f6eb9c47b913fcd1c7.zip
fix to small memory allocation
Diffstat (limited to 'tests/test_Fourier.cpp')
-rw-r--r--tests/test_Fourier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_Fourier.cpp b/tests/test_Fourier.cpp
index 2602edb..ef12747 100644
--- a/tests/test_Fourier.cpp
+++ b/tests/test_Fourier.cpp
@@ -105,8 +105,8 @@ BOOST_AUTO_TEST_CASE( testFourier_FFT_1D_1 )
{
astra::float32 inR[8] = { 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 1.0f };
astra::float32 inI[8] = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f };
- astra::float32 outR[5];
- astra::float32 outI[5];
+ astra::float32 outR[8];
+ astra::float32 outI[8];
astra::fastTwoPowerFourierTransform1D(8, inR, inI, outR, outI, 1, 1, false);