IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 26, 2006, 11:10:22 AM (20 years ago)
Author:
gusciora
Message:

Implemented the polynomial alloc argument changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sys/tst_psMemory.c

    r5512 r6204  
    66*  @author Robert DeSonia, MHPCC
    77*
    8 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2005-11-14 22:18:48 $
     8*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2006-01-26 21:10:22 $
    1010*
    1111*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    712712
    713713    psPolynomial1D *poly1;
    714     poly1 = psPolynomial1DAlloc(2, PS_POLYNOMIAL_ORD);
     714    poly1 = psPolynomial1DAlloc(PS_POLYNOMIAL_ORD, 2);
    715715    if ( !psMemCheckType(PS_DATA_POLYNOMIAL1D, poly1) ) {
    716716        psError(PS_ERR_BAD_PARAMETER_VALUE, true, "psMemCheckPolynomial1D failed in memCheckType. \n");
     
    721721
    722722    psPolynomial2D *poly2;
    723     poly2 = psPolynomial2DAlloc(2, 1, PS_POLYNOMIAL_ORD);
     723    poly2 = psPolynomial2DAlloc(PS_POLYNOMIAL_ORD, 2, 1);
    724724    if ( !psMemCheckType(PS_DATA_POLYNOMIAL2D, poly2) ) {
    725725        psError(PS_ERR_BAD_PARAMETER_VALUE, true, "psMemCheckPolynomial2D failed in memCheckType. \n");
     
    730730
    731731    psPolynomial3D *poly3;
    732     poly3 = psPolynomial3DAlloc(2, 1, 2, PS_POLYNOMIAL_ORD);
     732    poly3 = psPolynomial3DAlloc(PS_POLYNOMIAL_ORD, 2, 1, 1);
    733733    if ( !psMemCheckType(PS_DATA_POLYNOMIAL3D, poly3) ) {
    734734        psError(PS_ERR_BAD_PARAMETER_VALUE, true, "psMemCheckPolynomial3D failed in memCheckType. \n");
     
    739739
    740740    psPolynomial4D *poly4;
    741     poly4 = psPolynomial4DAlloc(2, 1, 2, 1, PS_POLYNOMIAL_ORD);
     741    poly4 = psPolynomial4DAlloc(PS_POLYNOMIAL_ORD, 2, 1, 2, 1);
    742742    if ( !psMemCheckType(PS_DATA_POLYNOMIAL4D, poly4) ) {
    743743        psError(PS_ERR_BAD_PARAMETER_VALUE, true, "psMemCheckPolynomial4D failed in memCheckType. \n");
Note: See TracChangeset for help on using the changeset viewer.