Changeset 2470 for branches/hpc33/src/STMath.cpp
- Timestamp:
- 04/18/12 15:19:39 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/hpc33/src/STMath.cpp
r2460 r2470 221 221 uInt const values1[] = { rec.asuInt("IFNO"), rec.asuInt("BEAMNO"), rec.asuInt("POLNO") }; 222 222 SingleTypeEqPredicate<uInt, 3> myPred(tin, colNames1, values1); 223 CustomTableExprNode myExpr(tin, myPred); 223 CustomTableExprNodeRep myNodeRep(tin, myPred); 224 myNodeRep.link(); // to avoid automatic delete when myExpr is destructed. 225 CustomTableExprNode myExpr(myNodeRep); 224 226 Table basesubt = tin(myExpr); 227 cout << "CustomTableExprNode selected row number is " << basesubt.nrow() << "/" << tin.nrow() << endl; 225 228 #else 226 229 Table basesubt = tin( tin.col("BEAMNO") == Int(rec.asuInt("BEAMNO"))
Note: See TracChangeset
for help on using the changeset viewer.