projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b046c8c
)
src/mathutils.c: use HAVE_ATLAS
author
Paul Brossier
<piem@piem.org>
Sun, 6 Sep 2015 08:26:46 +0000
(10:26 +0200)
committer
Paul Brossier
<piem@piem.org>
Sun, 6 Sep 2015 08:26:46 +0000
(10:26 +0200)
src/mathutils.c
patch
|
blob
|
history
diff --git
a/src/mathutils.c
b/src/mathutils.c
index
a2f73e5
..
a103517
100644
(file)
--- 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_A
CCELERATE
+#ifndef HAVE_A
TLAS
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_A
CCELERATE
+#ifndef HAVE_A
TLAS
uint_t j;
for (j = 0; j < f->length; j++) {
energy += SQR (f->data[j]);