Changeset 5dd22a9 for src


Ignore:
Timestamp:
Nov 24, 2007, 7:05:54 PM (17 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, pitchshift, sampler, timestretch, yinfft+
Children:
2d8cffa
Parents:
7873363
Message:

filterbank.c: avoid useless usigned comparison

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/filterbank.c

    r7873363 r5dd22a9  
    2424#include "filterbank.h"
    2525#include "mathutils.h"
    26 
    27 #include "stdio.h"
    2826
    2927#define VERY_SMALL_NUMBER 2e-42
     
    216214
    217215fvec_t * aubio_filterbank_getchannel(aubio_filterbank_t * f, uint_t channel) {
    218   if ( (channel >= 0) && (channel < f->n_filters) ) { return f->filters[channel]; }
     216  if ( (channel < f->n_filters) ) { return f->filters[channel]; }
    219217  else { return NULL; }
    220218}
Note: See TracChangeset for help on using the changeset viewer.