Changeset 1505
- Timestamp:
- 02/13/09 11:28:39 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMath.cpp
r1484 r1505 130 130 ++iter; 131 131 } 132 132 133 RowAccumulator acc(wtype); 133 134 Vector<Bool> cmask(mask); … … 285 286 bool droprows) 286 287 { 287 if (insitu_) return in; 288 if (insitu_) { 289 return in; 290 } 288 291 else { 289 292 // clone 290 Scantable* tabp = new Scantable(*in, Bool(droprows)); 291 return CountedPtr<Scantable>(tabp); 293 return CountedPtr<Scantable>(new Scantable(*in, Bool(droprows))); 292 294 } 293 295 } … … 1554 1556 Table thetab = freqit.table(); 1555 1557 uInt nrow = tout.nrow(); 1556 //tout.addRow(thetab.nrow());1558 tout.addRow(thetab.nrow()); 1557 1559 TableCopy::copyRows(tout, thetab, nrow, 0, thetab.nrow()); 1558 1560 ROTableRow row(thetab);
Note:
See TracChangeset
for help on using the changeset viewer.