From: Paul Brossier Date: Fri, 11 Sep 2009 22:12:15 +0000 (+0200) Subject: src/aubio_priv.h: fix typo in ROUND X-Git-Tag: bzr2git~369 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fbe2cd25c124a629d9fa74c4f1e129e3be992616;p=aubio.git src/aubio_priv.h: fix typo in ROUND --- diff --git a/src/aubio_priv.h b/src/aubio_priv.h index ff43e4a1..cdb82696 100644 --- a/src/aubio_priv.h +++ b/src/aubio_priv.h @@ -132,7 +132,7 @@ typedef enum { #define LOG logf #define FLOOR floorf #define CEIL ceilf -#define ROUND(x) FLOOR(x_.5) +#define ROUND(x) FLOOR(x+.5) /* aliases to complex.h functions */ #if !defined(HAVE_COMPLEX_H) || defined(WIN32)