changeset 451:b4addbeab790 vampipe

Puzzlingly, this seems to produce the wrong results if assigned directly when compiled using Emscripten. I wonder what I'm missing
author Chris Cannam
date Tue, 06 Sep 2016 19:13:48 +0100
parents c053e5e79b8f
children cd8414edfd32
files src/vamp-sdk/ext/kiss_fft.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/vamp-sdk/ext/kiss_fft.c	Mon Aug 22 17:15:03 2016 +0100
+++ b/src/vamp-sdk/ext/kiss_fft.c	Tue Sep 06 19:13:48 2016 +0100
@@ -275,7 +275,8 @@
 
     if (m==1) {
         do{
-            *Fout = *f;
+            Fout->r = f->r;
+            Fout->i = f->i;
             f += fstride*in_stride;
         }while(++Fout != Fout_end );
     }else{