From fbe2cd25c124a629d9fa74c4f1e129e3be992616 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 12 Sep 2009 00:12:15 +0200 Subject: [PATCH] src/aubio_priv.h: fix typo in ROUND --- src/aubio_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2