diff options
author | joergkappes <kappes@math.uni-heidelberg.de> | 2015-03-28 18:09:40 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-05-08 14:16:13 +0200 |
commit | 3f6079b9dc2e3b6f54f512f6eb9c47b913fcd1c7 (patch) | |
tree | ab660c7e974fded1c1de25c5c1b45cad3d663b32 /tests | |
parent | 99f46882982b92c632869053ae0dd416312b02ff (diff) | |
download | astra-3f6079b9dc2e3b6f54f512f6eb9c47b913fcd1c7.tar.gz astra-3f6079b9dc2e3b6f54f512f6eb9c47b913fcd1c7.tar.bz2 astra-3f6079b9dc2e3b6f54f512f6eb9c47b913fcd1c7.tar.xz astra-3f6079b9dc2e3b6f54f512f6eb9c47b913fcd1c7.zip |
fix to small memory allocation
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_Fourier.cpp | 4 |
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); |