Changeset 1c24da5 for src/fvec.c


Ignore:
Timestamp:
Nov 17, 2011, 2:07:44 AM (8 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:
d7bce3c
Parents:
7ce0701
Message:

src/{f,c}vec.c: remove zeroing since we now use calloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/fvec.c

    r7ce0701 r1c24da5  
    2424fvec_t * new_fvec( uint_t length) {
    2525  fvec_t * s = AUBIO_NEW(fvec_t);
    26   uint_t j;
    2726  s->length = length;
    2827  s->data = AUBIO_ARRAY(smpl_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.