Ignore:
Timestamp:
07/25/11 14:57:22 (13 years ago)
Author:
Takeshi Nakazato
Message:

merged changes in trunk (r2209,r2202,r2243

Location:
branches/parallel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/parallel

  • branches/parallel/src

  • branches/parallel/src/STMolecules.cpp

    r1819 r2247  
    108108  Table result =
    109109    table_( nelements(table_.col("RESTFREQUENCY")) == uInt (restfreq.size()) &&
    110             all(table_.col("RESTFREQUENCY")== restfreq) );
     110            all(table_.col("RESTFREQUENCY")== restfreq), 1 );
    111111  uInt resultid = 0;
    112112  if ( result.nrow() > 0) {
     
    152152                            Vector<String>& formattedname, uInt id ) const
    153153{
    154   Table t = table_(table_.col("ID") == Int(id) );
     154  Table t = table_(table_.col("ID") == Int(id), 1 );
    155155  if (t.nrow() == 0 ) {
    156156    throw(AipsError("STMolecules::getEntry - id out of range"));
     
    182182{
    183183  std::vector<double> out;
    184   Table t = table_(table_.col("ID") == Int(id) );
     184  Table t = table_(table_.col("ID") == Int(id), 1 );
    185185  if (t.nrow() == 0 ) {
    186186    throw(AipsError("STMolecules::getRestFrequency - id out of range"));
Note: See TracChangeset for help on using the changeset viewer.