From: Paul Brossier Date: Sun, 6 Sep 2015 08:26:46 +0000 (+0200) Subject: src/mathutils.c: use HAVE_ATLAS X-Git-Tag: 0.4.4~300^2~367 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=0a0d9b0bd155d1f8720ccd8db46e73303724bec5;p=aubio.git src/mathutils.c: use HAVE_ATLAS --- 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]);