Changeset 042d77d for src


Ignore:
Timestamp:
Nov 28, 2018, 3:33:01 AM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
Children:
4506b0c
Parents:
c0429d4
Message:

[utils] hist with size null fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/utils/hist.c

    rc0429d4 r042d77d  
    4444  smpl_t accum = step;
    4545  uint_t i;
     46  if ((sint_t)nelems <= 0) {
     47    return NULL;
     48  }
    4649  s->nelems = nelems;
    4750  s->hist = new_fvec(nelems);
Note: See TracChangeset for help on using the changeset viewer.