Changeset 2877


Ignore:
Timestamp:
12/10/13 14:02:10 (11 years ago)
Author:
Kana Sugimoto
Message:

New Development: No (a 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

Description: fixed a trivial bug in scantable.flag_nans().


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r2867 r2877  
    44754475            self.set_selection(basesel+sel)
    44764476            nans = numpy.isnan(self._getspectrum(0))
    4477         if numpy.any(nans):
    4478             bnans = [ bool(v) for v in nans]
    4479             self.flag(bnans)
     4477            if numpy.any(nans):
     4478                bnans = [ bool(v) for v in nans]
     4479                self.flag(bnans)
     4480       
     4481        self.set_selection(basesel)
    44804482
    44814483    def get_row_selector(self, rowno):
Note: See TracChangeset for help on using the changeset viewer.