Changeset 1694 for trunk/src/STFrequencies.cpp
- Timestamp:
- 02/11/10 09:45:47 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFrequencies.cpp
r1375 r1694 212 212 { 213 213 Vector<Float> offset(1,0.0); 214 Vector<Float> factors(1, 1.0/width);214 Vector<Float> factors(1,width); 215 215 Vector<Int> newshape; 216 216 CoordinateSystem csys; … … 287 287 << rec.asDouble("REFVAL") << setw(7) 288 288 << rec.asDouble("REFPIX") 289 << setw(1 2)289 << setw(15) 290 290 << rec.asDouble("INCREMENT"); 291 291 } … … 294 294 int f = outstr.find_first_not_of(' '); 295 295 int l = outstr.find_last_not_of(' ', outstr.size()); 296 if (f < 0) { 297 f = 0; 298 } 299 if ( l < f || l < f ) { 296 if (f < 0) { 297 f = 0; 298 } 299 if ( l < f || l < f ) { 300 300 l = outstr.size(); 301 301 } … … 409 409 } 410 410 411 void STFrequencies::shiftRefPix(int npix, uInt id) 411 void STFrequencies::shiftRefPix(int npix, uInt id) 412 412 { 413 413 Table t = table_(table_.col("ID") == Int(id) );
Note: See TracChangeset
for help on using the changeset viewer.