IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 8, 2007, 11:31:42 AM (19 years ago)
Author:
Paul Price
Message:

Was running mean when I meant stdev.

File:
1 edited

Legend:

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

    r14428 r14440  
    1313 * use ->min and ->max (PS_STAT_USE_RANGE)
    1414 *
    15  *  @version $Revision: 1.214 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2007-08-08 19:34:58 $
     15 *  @version $Revision: 1.215 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2007-08-08 21:31:42 $
    1717 *
    1818 *  Copyright 2006 IfA, University of Hawaii
     
    480480    }
    481481    if (!(stats->results & PS_STAT_SAMPLE_STDEV)) {
    482         vectorSampleMean(myVector, NULL, maskVector, maskVal, stats);
     482        vectorSampleStdev(myVector, NULL, maskVector, maskVal, stats);
    483483    }
    484484    if (isnan(stats->sampleStdev) || stats->sampleStdev == 0.0) {
    485         psTrace(TRACE, 5, "WARNING: vectorSampleMoments(): sample mean is NAN or 0.\n");
     485        psTrace(TRACE, 5, "WARNING: vectorSampleMoments(): sample stdev is NAN or 0.\n");
    486486        goto SAMPLE_MOMENTS_BAD;
    487487    }
Note: See TracChangeset for help on using the changeset viewer.