From 0a0d9b0bd155d1f8720ccd8db46e73303724bec5 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 6 Sep 2015 10:26:46 +0200 Subject: [PATCH] src/mathutils.c: use HAVE_ATLAS --- src/mathutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mathutils.c b/src/mathutils.c index a2f73e5a..a1035173 100644 --- a/src/mathutils.c +++ b/src/mathutils.c @@ -253,7 +253,7 @@ fvec_max_elem (fvec_t * s) void fvec_shift (fvec_t * s) { -#ifndef HAVE_ACCELERATE +#ifndef HAVE_ATLAS uint_t j; for (j = 0; j < s->length / 2; j++) { ELEM_SWAP (s->data[j], s->data[j + s->length / 2]); @@ -268,7 +268,7 @@ smpl_t aubio_level_lin (fvec_t * f) { smpl_t energy = 0.; -#ifndef HAVE_ACCELERATE +#ifndef HAVE_ATLAS uint_t j; for (j = 0; j < f->length; j++) { energy += SQR (f->data[j]); -- 2.11.0