Changeset 1382 for trunk/src


Ignore:
Timestamp:
07/13/07 12:06:33 (17 years ago)
Author:
mar637
Message:

use the next value in slider from i+hwidth not i

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MathUtils.cpp

    r1376 r1382  
    166166  for (uInt i=hwidth; i<(n-hwidth); ++i) {
    167167    // add data value
    168     out[i] = ms.add(in[i], flag[i]);
     168    out[i] = ms.add(in[i+hwidth], flag[i+hwidth]);
    169169    outflag[i] = (ms.nval() == 0);   
    170170  }
Note: See TracChangeset for help on using the changeset viewer.