IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2722


Ignore:
Timestamp:
Dec 15, 2004, 3:35:12 PM (22 years ago)
Author:
evanalst
Message:

Change return value of p_psVectorSampleMean.

Location:
trunk/psLib/src
Files:
2 edited

Legend:

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

    r2436 r2722  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.100 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-11-24 22:14:39 $
     11 *  @version $Revision: 1.101 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-12-16 01:35:12 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    210210    stats->sampleMean = mean;
    211211    if (isnan(mean)) {
     212        return(-1);
     213    } else {
    212214        return(0);
    213     } else {
    214         return(-1);
    215215    }
    216216
  • trunk/psLib/src/math/psStats.c

    r2436 r2722  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.100 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-11-24 22:14:39 $
     11 *  @version $Revision: 1.101 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-12-16 01:35:12 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    210210    stats->sampleMean = mean;
    211211    if (isnan(mean)) {
     212        return(-1);
     213    } else {
    212214        return(0);
    213     } else {
    214         return(-1);
    215215    }
    216216
Note: See TracChangeset for help on using the changeset viewer.