diff data/fft/FFTapi.h @ 1095:b66734b5f806 simple-fft-model

Fix to fft cache
author Chris Cannam
date Sat, 13 Jun 2015 08:47:05 +0100
parents 44b079427b36
children db946591a391
line wrap: on
line diff
--- a/data/fft/FFTapi.h	Fri Jun 12 19:18:56 2015 +0100
+++ b/data/fft/FFTapi.h	Sat Jun 13 08:47:05 2015 +0100
@@ -73,6 +73,8 @@
         const int hs = m_size/2;
         for (int i = 0; i < hs; ++i) {
             m_input[i] = in[i + hs];
+        }
+        for (int i = 0; i < hs; ++i) {
             m_input[i + hs] = in[i];
         }
         fftf_execute(m_plan);