IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 18, 2005, 9:39:29 AM (20 years ago)
Author:
gusciora
Message:

Asserts for psPolynomial, andvarious psCoord mods.

File:
1 edited

Legend:

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

    r5294 r5542  
    77*  polynomials.  It also contains a Gaussian functions.
    88*
    9 *  @version $Revision: 1.130 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2005-10-12 21:02:20 $
     9*  @version $Revision: 1.131 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-11-18 19:39:29 $
    1111*
    1212*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    644644                                     psPolynomialType type)
    645645{
    646     PS_ASSERT_INT_POSITIVE(nX, NULL);
    647     PS_ASSERT_INT_POSITIVE(nY, NULL);
     646    PS_ASSERT_INT_NONNEGATIVE(nX, NULL);
     647    PS_ASSERT_INT_NONNEGATIVE(nY, NULL);
    648648
    649649    unsigned int x = 0;
     
    682682                                     psPolynomialType type)
    683683{
    684     PS_ASSERT_INT_POSITIVE(nX, NULL);
    685     PS_ASSERT_INT_POSITIVE(nY, NULL);
    686     PS_ASSERT_INT_POSITIVE(nZ, NULL);
     684    PS_ASSERT_INT_NONNEGATIVE(nX, NULL);
     685    PS_ASSERT_INT_NONNEGATIVE(nY, NULL);
     686    PS_ASSERT_INT_NONNEGATIVE(nZ, NULL);
    687687
    688688    unsigned int x = 0;
     
    731731                                     psPolynomialType type)
    732732{
    733     PS_ASSERT_INT_POSITIVE(nX, NULL);
    734     PS_ASSERT_INT_POSITIVE(nY, NULL);
    735     PS_ASSERT_INT_POSITIVE(nZ, NULL);
    736     PS_ASSERT_INT_POSITIVE(nT, NULL);
     733    PS_ASSERT_INT_NONNEGATIVE(nX, NULL);
     734    PS_ASSERT_INT_NONNEGATIVE(nY, NULL);
     735    PS_ASSERT_INT_NONNEGATIVE(nZ, NULL);
     736    PS_ASSERT_INT_NONNEGATIVE(nT, NULL);
    737737
    738738    unsigned int x = 0;
Note: See TracChangeset for help on using the changeset viewer.