IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 1, 2005, 12:21:34 PM (21 years ago)
Author:
gusciora
Message:

Fixing bug 316.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psStats.c

    r3350 r3355  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.116 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-03-01 21:20:51 $
     11 *  @version $Revision: 1.117 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-03-01 22:21:34 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    10931093
    10941094        // b) compute new mean and stdev
    1095         p_psVectorSampleMean(myVector, errors, tmpMask, maskVal, statsTmp);
    1096         p_psVectorSampleStdev(myVector, errors, tmpMask, maskVal, statsTmp);
     1095        p_psVectorSampleMean(myVector, errors, tmpMask, 0xff, statsTmp);
     1096        p_psVectorSampleStdev(myVector, errors, tmpMask, 0xff, statsTmp);
    10971097
    10981098        // If the new mean and stdev are NAN, we must exit the loop.
    10991099        // Otherwise, use the new results and continue.
    11001100        if (isnan(statsTmp->sampleMean) || isnan(statsTmp->sampleStdev)) {
    1101             // Exit loop.  XXX: Should we throw an error or warning here?
     1101            // Exit loop.  XXX: Should we throw an error/warning here?
    11021102            iter = stats->clipIter;
    11031103            rc = -1;
Note: See TracChangeset for help on using the changeset viewer.