diff options
author | Mark Borgerding <mark@borgerding.net> | 2010-03-07 22:05:48 -0500 |
---|---|---|
committer | Mark Borgerding <mark@borgerding.net> | 2010-03-07 22:05:48 -0500 |
commit | e31929337e8732a32aca21b0343dae22fbced510 (patch) | |
tree | 4af4ac182a1da83fc29122d943a5727fb1c4f95c /unsupported/test/FFTW.cpp | |
parent | 5b2c8b77df14001b29b507b97a00c1194655bf5e (diff) |
needed different proxy return types for fwd,inv to work around static asserts
Diffstat (limited to 'unsupported/test/FFTW.cpp')
-rw-r--r-- | unsupported/test/FFTW.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unsupported/test/FFTW.cpp b/unsupported/test/FFTW.cpp index 66ffbae38..1cc8b156f 100644 --- a/unsupported/test/FFTW.cpp +++ b/unsupported/test/FFTW.cpp @@ -235,6 +235,9 @@ void test_return_by_value() Matrix<complex<T>,nrows,ncols> out1; Matrix<complex<T>,nrows,ncols> out2; FFT<T> fft; + + fft.SetFlag(fft.HalfSpectrum ); + fft.fwd(out1,in); out2 = fft.fwd(in); VERIFY( (out1-out2).norm() < test_precision<T>() ); @@ -246,7 +249,6 @@ void test_FFTW() { test_return_by_value<float,1,32>(); test_return_by_value<double,1,32>(); - //test_return_by_value<long double,1,32>(); //CALL_SUBTEST( ( test_complex2d<float,4,8> () ) ); CALL_SUBTEST( ( test_complex2d<double,4,8> () ) ); //CALL_SUBTEST( ( test_complex2d<long double,4,8> () ) ); CALL_SUBTEST( test_complex<float>(32) ); CALL_SUBTEST( test_complex<double>(32) ); CALL_SUBTEST( test_complex<long double>(32) ); |