shithub: aubio

Download patch

ref: 0a0d9b0bd155d1f8720ccd8db46e73303724bec5
parent: b046c8c7dd292b931f6c002d748e2fc180520424
author: Paul Brossier <piem@piem.org>
date: Sun Sep 6 06:26:46 EDT 2015

src/mathutils.c: use HAVE_ATLAS

--- a/src/mathutils.c
+++ b/src/mathutils.c
@@ -253,7 +253,7 @@
 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 @@
 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]);