IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2724


Ignore:
Timestamp:
Dec 15, 2004, 5:01:40 PM (22 years ago)
Author:
evanalst
Message:

Changed improper function call.

Location:
trunk/psLib/src
Files:
2 edited

Legend:

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

    r2722 r2724  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.101 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-12-16 01:35:12 $
     11 *  @version $Revision: 1.102 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-12-16 03:01:40 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    862862    // 1. Compute the sample median.
    863863    p_psVectorSampleMedian(myVector, maskVector, maskVal, stats);
    864     if (isnan(stats->sampleMean)) {
    865         psLogMsg(__func__, PS_LOG_WARN, "Call to p_psVectorSampleMean returned NAN\n");
     864    if (isnan(stats->sampleMedian)) {
     865        psLogMsg(__func__, PS_LOG_WARN, "Call to p_psVectorSampleMedian returned NAN\n");
    866866        stats->clippedMean = NAN;
    867867        stats->clippedStdev = NAN;
  • trunk/psLib/src/math/psStats.c

    r2722 r2724  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.101 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-12-16 01:35:12 $
     11 *  @version $Revision: 1.102 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-12-16 03:01:40 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    862862    // 1. Compute the sample median.
    863863    p_psVectorSampleMedian(myVector, maskVector, maskVal, stats);
    864     if (isnan(stats->sampleMean)) {
    865         psLogMsg(__func__, PS_LOG_WARN, "Call to p_psVectorSampleMean returned NAN\n");
     864    if (isnan(stats->sampleMedian)) {
     865        psLogMsg(__func__, PS_LOG_WARN, "Call to p_psVectorSampleMedian returned NAN\n");
    866866        stats->clippedMean = NAN;
    867867        stats->clippedStdev = NAN;
Note: See TracChangeset for help on using the changeset viewer.