shithub: aubio

Download patch

ref: f080cbff716843e9004e4d5f8bf5866a2bf365ea
parent: 20c876939927652944f45b2f3967bc9d59024e48
author: Paul Brossier <piem@piem.org>
date: Sun Oct 1 18:25:54 EDT 2017

src/cvec.c: fix indentation

--- a/src/cvec.c
+++ b/src/cvec.c
@@ -156,14 +156,14 @@
 }
 
 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
 }