Changeset 2879


Ignore:
Timestamp:
12/13/13 17:23:27 (11 years ago)
Author:
Kana Sugimoto
Message:

New Development: No (IMPORTANT bug fix)

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): scantable.smooth

Description: Fixed a bug that flag is ignored in smoothing.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.cpp

    r2829 r2879  
    25262526      convertArray(mask, flag);
    25272527      Vector<Float> specout;
    2528       mathutil::replaceMaskByZero(specout, mask);
     2528      //mathutil::replaceMaskByZero(specout, mask);
     2529      mathutil::replaceMaskByZero(spec, !mask);
     2530      //std::vector<bool> vmask;
     2531      //(!mask).tovector(vmask);
     2532      //mathutil::doZeroOrderInterpolation(spec, vmask);
    25292533      conv.linearConv(specout, spec);
    25302534      specCol.put(i, specout);
Note: See TracChangeset for help on using the changeset viewer.