IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30990


Ignore:
Timestamp:
Mar 20, 2011, 10:26:58 PM (15 years ago)
Author:
eugene
Message:

fix uninited variables

Location:
branches/eam_branches/ipp-20110213
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/Ohana/src/tools/src/ftable.c

    r30698 r30990  
    236236      }
    237237    } else {
     238      Oout = 0;
     239      Oin = 0;
    238240      for (i = 0; i < Nfields; i++) {
    239241        memcpy (&line[Oout], &row[Oin], Nvals[i]*Nbyte[i]);
  • branches/eam_branches/ipp-20110213/psLib/src/math/psStats.c

    r30863 r30990  
    12291229
    12301230        // assume a reasonably well-defined gaussian-like population; run from peak out until val < 0.25*peak
    1231 
    1232         float clippedMean = PS_BIN_MIDPOINT(histogram, binPeak);
    1233 
    12341231        psTrace(TRACE, 6, "The clipped numBins is %ld\n", binMax - binMin);
    12351232        psTrace(TRACE, 6, "The clipped min is %f (%ld)\n", PS_BIN_MIDPOINT(histogram, binMin), binMin);
    12361233        psTrace(TRACE, 6, "The clipped max is %f (%ld)\n", PS_BIN_MIDPOINT(histogram, binMax - 1), binMax - 1);
    1237         psTrace(TRACE, 6, "The clipped peak is %f (%ld)\n", clippedMean, binPeak);
     1234        psTrace(TRACE, 6, "The clipped peak is %f (%ld)\n", PS_BIN_MIDPOINT(histogram, binPeak), binPeak);
    12381235        psTrace(TRACE, 6, "The clipped peak value is %f\n", histogram->nums->data.F32[binPeak]);
    12391236
Note: See TracChangeset for help on using the changeset viewer.