IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 27, 2004, 2:22:53 PM (22 years ago)
Author:
gusciora
Message:

Added parameter checking to psStats.c

File:
1 edited

Legend:

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

    r2221 r2224  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.76 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-10-27 23:31:43 $
     11 *  @version $Revision: 1.77 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-10-28 00:22:53 $
    1313n *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    14871487    PS_VECTOR_CHECK_NULL(bounds, NULL);
    14881488    PS_VECTOR_CHECK_TYPE(bounds, PS_TYPE_F32, NULL);
    1489     PS_INT_COMPARE(bounds->n, 2, NULL);
     1489    PS_INT_COMPARE(2, bounds->n, NULL);
    14901490
    14911491    psHistogram* newHist = NULL;        // The new histogram structure
     
    16941694
    16951695    if ((stats->options & PS_STAT_USE_RANGE) && (stats->min >= stats->max)) {
    1696         PS_FLOAT_COMPARE(stats->max, stats->min, stats);
     1696        PS_FLOAT_COMPARE(stats->min, stats->max, stats);
    16971697    }
    16981698
Note: See TracChangeset for help on using the changeset viewer.