Ignore:
Timestamp:
10/18/12 14:08:21 (12 years ago)
Author:
Malte Marquarding
Message:

Fix for #270: rmedian flags were incorrectly handled. Also remove excessive conversion step

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/MathUtils.cpp

    r2619 r2670  
    197197    // add data value
    198198    out[i] = ms.add(in[i+hwidth], flag[i+hwidth]);
    199     outflag[i] = (ms.nval() == 0);
     199    outflag[i] = (ms.nval() > 0 );
    200200  }
    201201  // replicate edge values from first value with full width of values
Note: See TracChangeset for help on using the changeset viewer.