pitchyinfft.c: return 0., not 0
authorPaul Brossier <piem@piem.org>
Tue, 20 Nov 2007 23:40:43 +0000 (00:40 +0100)
committerPaul Brossier <piem@piem.org>
Tue, 20 Nov 2007 23:40:43 +0000 (00:40 +0100)
src/pitchyinfft.c

index e66573e97dae84a5a1f8a07ddf0f998b13f0ff01..1a59609c2cc1acaa47ea33518167ec2c3e7f5415 100644 (file)
@@ -137,7 +137,7 @@ smpl_t aubio_pitchyinfft_detect(aubio_pitchyinfft_t * p, fvec_t * input, smpl_t
         return vec_quadint_min(yin,tau,1);
     }
   } else
-    return 0;
+    return 0.;
 }
 
 void del_aubio_pitchyinfft(aubio_pitchyinfft_t *p){