IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2481


Ignore:
Timestamp:
Nov 24, 2004, 4:54:45 PM (22 years ago)
Author:
evanalst
Message:

Update calls to psMemCheckLeaks, psPolynomial1DEval, psSpline1DEval.

Location:
trunk/psModules/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/pmNonLinear.c

    r2275 r2481  
    55 *  @author George Gusciora, MHPCC
    66 *
    7  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2004-11-04 02:02:10 $
     7 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2004-11-25 02:54:45 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4040    for (i=0;i<(in->image)->numRows;i++) {
    4141        for (j=0;j<(in->image)->numCols;j++) {
    42             (in->image)->data.F32[i][j] = psPolynomial1DEval((in->image)->data.F32[i][j], coeff);
     42            (in->image)->data.F32[i][j] = psPolynomial1DEval(coeff, (in->image)->data.F32[i][j]);
    4343        }
    4444    }
  • trunk/psModules/src/pmSubtractBias.c

    r2275 r2481  
    66 *  @author George Gusciora, MHPCC
    77 *
    8  *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-11-04 02:02:10 $
     8 *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-11-25 02:54:45 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    174174        for (i=0;i<n;i++) {
    175175            x = ((float) i) * ((float) overscanVector->n) / ((float) n);
    176             newVec->data.F32[i] = psPolynomial1DEval(x, myPoly);
     176            newVec->data.F32[i] = psPolynomial1DEval(myPoly, x);
    177177        }
    178178    } else if (fit == PM_FIT_SPLINE) {
     
    186186        for (i=0;i<n;i++) {
    187187            x = ((float) i) * ((float) overscanVector->n) / ((float) n);
    188             newVec->data.F32[i] = psSpline1DEval(mySpline, x);
     188            newVec->data.F32[i] = psSpline1DEval(x, mySpline);
    189189        }
    190190    } else {
     
    367367                    myPoly = psVectorFitPolynomial1D(myPoly, NULL, overscanVector, NULL);
    368368                    for (i=0;i<numBins;i++) {
    369                         overscanVector->data.F32[i] = psPolynomial1DEval((float) i, myPoly);
     369                        overscanVector->data.F32[i] = psPolynomial1DEval(myPoly, (float) i);
    370370                    }
    371371
  • trunk/psModules/src/psTest.c

    r2275 r2481  
    151151            psS32 retVal = fcn();
    152152            if ( retVal == 0 ) { // only bother checking memory if test executed to end.
    153                 if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {
     153                if ( psMemCheckLeaks( currentId, NULL, stderr, false ) != 0 ) {
    154154                    psError(PS_ERR_UNKNOWN, true, "Memory Leaks Detected" );
    155155                    retVal = 64;
     
    175175        childReturn = fcn();
    176176        if ( childReturn == 0 ) { // only bother checking memory if test executed to end.
    177             if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {
     177            if ( psMemCheckLeaks( currentId, NULL, stderr, false ) != 0 ) {
    178178                psError(PS_ERR_UNKNOWN, true, "Memory Leaks Detected" );
    179179                childReturn = 64;
Note: See TracChangeset for help on using the changeset viewer.