Changeset f080cbf


Ignore:
Timestamp:
Oct 1, 2017, 10:25:54 PM (22 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master
Children:
dfe058a0
Parents:
20c8769
Message:

src/cvec.c: fix indentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/cvec.c

    r20c8769 rf080cbf  
    157157
    158158void cvec_logmag(cvec_t *s, smpl_t lambda) {
    159   #if defined(HAVE_INTEL_IPP)
    160     aubio_ippsMulC(s->norm, lambda, s->norm, (int)s->length);
    161     aubio_ippsAddC(s->norm, 1.0, s->norm, (int)s->length);
    162     aubio_ippsLn(s->norm, s->norm, (int)s->length);
    163   #else
    164     uint_t j;
    165     for (j=0; j< s->length; j++) {
    166       s->norm[j] = LOG(lambda * s->norm[j] + 1);
    167     }
    168   #endif
     159#if defined(HAVE_INTEL_IPP)
     160  aubio_ippsMulC(s->norm, lambda, s->norm, (int)s->length);
     161  aubio_ippsAddC(s->norm, 1.0, s->norm, (int)s->length);
     162  aubio_ippsLn(s->norm, s->norm, (int)s->length);
     163#else
     164  uint_t j;
     165  for (j=0; j< s->length; j++) {
     166    s->norm[j] = LOG(lambda * s->norm[j] + 1);
     167  }
     168#endif
    169169}
Note: See TracChangeset for help on using the changeset viewer.