Changeset 1000 for trunk/src/STMath.cpp


Ignore:
Timestamp:
04/07/06 09:41:02 (18 years ago)
Author:
mar637
Message:

fixed bug due to incorrect use of Table::rowNumbers (RTFM!).
added flagging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMath.cpp

    r996 r1000  
    10041004  setInsitu(insitu);
    10051005  Table& tout = out->table();
    1006   // clear ouput frequency table
    1007   //Table ftable = out->frequencies().table();
    1008   //ftable.removeRow(ftable.rowNumbers());
    10091006  // Get reference Epoch to time of first row or given String
    10101007  Unit DAY(String("d"));
     
    11351132  if ( in->getPolType() == newtype )
    11361133    throw(AipsError("No need to convert."));
     1134  if ( ! in->selector_.empty() )
     1135    throw(AipsError("Can only convert whole scantable. Unset the selection."));
    11371136  bool insitu = insitu_;
    11381137  setInsitu(false);
Note: See TracChangeset for help on using the changeset viewer.