Changeset 042d77d for src


Ignore:
Timestamp:
Nov 28, 2018, 3:33:01 AM (8 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, 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.