src/mathutils.c: use HAVE_ATLAS
authorPaul Brossier <piem@piem.org>
Sun, 6 Sep 2015 08:26:46 +0000 (10:26 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 6 Sep 2015 08:26:46 +0000 (10:26 +0200)
src/mathutils.c

index a2f73e5..a103517 100644 (file)
@@ -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]);