Changeset 367 for trunk/src


Ignore:
Timestamp:
02/03/05 19:34:50 (20 years ago)
Author:
kil064
Message:

add a couple of special case adjustments in function summary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTable.cc

    r365 r367  
    11421142      String posit = formatDirection(getDirection(firstRow,True));
    11431143      uInt nInt = (i-firstRow);
    1144       if (i==nRow-1 &&scanID==lastScanID) nInt++;   // Last row but same scan
     1144
     1145// Special case adjustments
     1146
     1147      if (i==nRow-1 &&scanID==lastScanID)  nInt++;   
     1148      if (nInt==1 && i>1) {
     1149         for (uInt j=0; j<freqIDs.nelements(); j++) mathutil::addEntry(listFQ, freqIDs(j));
     1150      }
    11451151//
    11461152      oss << setw(6) << scanNo
     
    11561162      listFQ.resize(0);
    11571163    } else {
    1158       for (uInt j=0; j<freqIDs.nelements(); j++) {
    1159          mathutil::addEntry(listFQ, freqIDs(j));
    1160       }
     1164       for (uInt j=0; j<freqIDs.nelements(); j++) mathutil::addEntry(listFQ, freqIDs(j));
    11611165    }
    11621166  }
Note: See TracChangeset for help on using the changeset viewer.