Changeset 1498ced for src/mathutils.c


Ignore:
Timestamp:
Oct 2, 2009, 2:14:06 AM (10 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:
eb7f743
Parents:
acf7d30
Message:

src/mathutils.c: fix fvec_min_removal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mathutils.c

    racf7d30 r1498ced  
    185185{
    186186  uint_t i, j;
    187   smpl_t mini = fvec_min (mag);
     187  smpl_t mini = fvec_min (o);
    188188  for (i = 0; i < o->channels; i++) {
    189189    for (j = 0; j < o->length; j++) {
    190       mag->data[i][j] -= mini;
     190      o->data[i][j] -= mini;
    191191    }
    192192  }
Note: See TracChangeset for help on using the changeset viewer.