- Timestamp:
- 05/22/12 18:03:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/hpc33/src/STMath.cpp
r2544 r2545 143 143 ROScalarColumn<Int> scanIDCol; 144 144 145 Vector<uInt> rowstodelete; 145 //Vector<uInt> rowstodelete; 146 Block<uInt> rowstodelB( in[0]->nrow() ) ; 147 uInt nrowdel = 0 ; 146 148 147 149 // Block<String> cols(3); … … 360 362 const Vector<Bool>& msk = acc.getMask(); 361 363 if ( allEQ(msk, False) ) { 362 uint n = rowstodelete.nelements(); 363 rowstodelete.resize(n+1, True); 364 rowstodelete[n] = i; 364 //uint n = rowstodelete.nelements(); 365 //rowstodelete.resize(n+1, True); 366 //rowstodelete[n] = i; 367 rowstodelB[nrowdel] = i ; 368 nrowdel++ ; 365 369 continue; 366 370 } … … 404 408 } 405 409 406 if (rowstodelete.nelements() > 0) { 410 //if (rowstodelete.nelements() > 0) { 411 if ( nrowdel > 0 ) { 412 Vector<uInt> rowstodelete( IPosition(1,nrowdel), rowstodelB.storage(), SHARE ) ; 407 413 os << rowstodelete << LogIO::POST ; 408 414 tout.removeRow(rowstodelete);
Note:
See TracChangeset
for help on using the changeset viewer.