Changeset 41eff53


Ignore:
Timestamp:
Nov 28, 2013, 9:50:25 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
767990e
Parents:
c666a18
Message:

src/lvec.c: no need to set to 0 after calloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lvec.c

    rc666a18 r41eff53  
    2424lvec_t * new_lvec( uint_t length) {
    2525  lvec_t * s = AUBIO_NEW(lvec_t);
    26   uint_t j;
    2726  s->length = length;
    2827  s->data = AUBIO_ARRAY(lsmp_t, s->length);
    29   for (j=0; j< s->length; j++) {
    30     s->data[j]=0.;
    31   }
    3228  return s;
    3329}
Note: See TracChangeset for help on using the changeset viewer.