Changeset 2243 for trunk/src/STMolecules.cpp
- Timestamp:
- 07/22/11 15:42:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMolecules.cpp
r2242 r2243 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.