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/psPolynomial.c

    r2221 r2224  
    77 *  polynomials.  It also contains a Gaussian functions.
    88 *
    9  *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2004-10-27 23:31:43 $
     9 *  @version $Revision: 1.58 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2004-10-28 00:22:53 $
    1111 *
    1212 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    16701670    PS_INT_CHECK_NON_NEGATIVE(numSplines, NULL);
    16711671    PS_INT_CHECK_NON_NEGATIVE(order, NULL);
    1672     PS_FLOAT_COMPARE(max, min, NULL);
     1672    PS_FLOAT_CHECK_NON_EQUAL(max, min, NULL);
    16731673
    16741674    psSpline1D *tmp = NULL;
     
    21242124    PS_PTR_CHECK_NULL(spline, NULL);
    21252125    PS_VECTOR_CHECK_NULL(x, NULL);
    2126     PS_VECTOR_CHECK_TYPE(x, PS_TYPE_F32, NULL);
     2126    PS_VECTOR_CHECK_TYPE_F32_OR_F64(x, NULL);
    21272127
    21282128    psS32 i;
Note: See TracChangeset for help on using the changeset viewer.