Ignore:
Timestamp:
12/20/13 21:17:06 (10 years ago)
Author:
WataruKawasaki
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): sd

Description: fixed two bugs in Scantable::subBaseline() reported by Kana: (1) RuntimeError? "too many channels masked..." occurs when clipniter>0 and (2) RuntimeError? "row index is out of range" occurs when outbltable exists.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STBaselineTable.cpp

    r2773 r2883  
    113113{
    114114  if (irow >= (uInt)nrow()) {
    115     throw AipsError("row index out of range");
     115    //throw AipsError("row index out of range");
     116    stringstream ss;
     117    ss << "row index out of range[irow=" << irow << "][nrow=" << nrow() << "]";
     118    throw AipsError(ss.str());
    116119  }
    117120
Note: See TracChangeset for help on using the changeset viewer.