Changeset 2247 for branches/parallel/src/STMolecules.cpp
- Timestamp:
- 07/25/11 14:57:22 (13 years ago)
- Location:
- branches/parallel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/parallel
- Property svn:mergeinfo changed
/trunk merged: 2209,2242-2243
- Property svn:mergeinfo changed
-
branches/parallel/src
- Property svn:mergeinfo changed
/trunk/src merged: 2209,2242-2243
- Property svn:mergeinfo changed
-
branches/parallel/src/STMolecules.cpp
r1819 r2247 108 108 Table result = 109 109 table_( nelements(table_.col("RESTFREQUENCY")) == uInt (restfreq.size()) && 110 all(table_.col("RESTFREQUENCY")== restfreq) );110 all(table_.col("RESTFREQUENCY")== restfreq), 1 ); 111 111 uInt resultid = 0; 112 112 if ( result.nrow() > 0) { … … 152 152 Vector<String>& formattedname, uInt id ) const 153 153 { 154 Table t = table_(table_.col("ID") == Int(id) );154 Table t = table_(table_.col("ID") == Int(id), 1 ); 155 155 if (t.nrow() == 0 ) { 156 156 throw(AipsError("STMolecules::getEntry - id out of range")); … … 182 182 { 183 183 std::vector<double> out; 184 Table t = table_(table_.col("ID") == Int(id) );184 Table t = table_(table_.col("ID") == Int(id), 1 ); 185 185 if (t.nrow() == 0 ) { 186 186 throw(AipsError("STMolecules::getRestFrequency - id out of range"));
Note: See TracChangeset
for help on using the changeset viewer.