From: Paul Brossier Date: Sun, 1 Oct 2017 20:25:54 +0000 (+0200) Subject: src/cvec.c: fix indentation X-Git-Tag: 0.4.6~5 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=f080cbff716843e9004e4d5f8bf5866a2bf365ea;p=aubio.git src/cvec.c: fix indentation --- diff --git a/src/cvec.c b/src/cvec.c index 76755da5..00c43bee 100644 --- a/src/cvec.c +++ b/src/cvec.c @@ -156,14 +156,14 @@ void cvec_zeros(cvec_t *s) { } void cvec_logmag(cvec_t *s, smpl_t lambda) { - #if defined(HAVE_INTEL_IPP) - aubio_ippsMulC(s->norm, lambda, s->norm, (int)s->length); - aubio_ippsAddC(s->norm, 1.0, s->norm, (int)s->length); - aubio_ippsLn(s->norm, s->norm, (int)s->length); - #else - uint_t j; - for (j=0; j< s->length; j++) { - s->norm[j] = LOG(lambda * s->norm[j] + 1); - } - #endif +#if defined(HAVE_INTEL_IPP) + aubio_ippsMulC(s->norm, lambda, s->norm, (int)s->length); + aubio_ippsAddC(s->norm, 1.0, s->norm, (int)s->length); + aubio_ippsLn(s->norm, s->norm, (int)s->length); +#else + uint_t j; + for (j=0; j< s->length; j++) { + s->norm[j] = LOG(lambda * s->norm[j] + 1); + } +#endif }