diff options
Diffstat (limited to 'lib/Numeric/GSL/Fourier.hs')
-rw-r--r-- | lib/Numeric/GSL/Fourier.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Numeric/GSL/Fourier.hs b/lib/Numeric/GSL/Fourier.hs index 4b08625..149c1e1 100644 --- a/lib/Numeric/GSL/Fourier.hs +++ b/lib/Numeric/GSL/Fourier.hs | |||
@@ -26,8 +26,7 @@ import Foreign | |||
26 | 26 | ||
27 | genfft code v = unsafePerformIO $ do | 27 | genfft code v = unsafePerformIO $ do |
28 | r <- createVector (dim v) | 28 | r <- createVector (dim v) |
29 | ww2 withVector v withVector r $ \ v r -> | 29 | app2 (c_fft code) vec v vec r "fft" |
30 | c_fft code // v // r // check "fft" | ||
31 | return r | 30 | return r |
32 | 31 | ||
33 | foreign import ccall "gsl-aux.h fft" c_fft :: Int -> TCVCV | 32 | foreign import ccall "gsl-aux.h fft" c_fft :: Int -> TCVCV |