IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Update calls to psMemCheckLeaks, psPolynomial1DEval, psSpline1DEval.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.