IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2589


Ignore:
Timestamp:
Dec 1, 2004, 12:08:15 PM (22 years ago)
Author:
gusciora
Message:

Argument order in polynomial eval.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/test/tst_pmNonLinear.c

    r2138 r2589  
    1313 *  @author GLG, MHPCC
    1414 *
    15  *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2004-10-14 23:52:09 $
     15 *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2004-12-01 22:08:15 $
    1717 *
    1818 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5959    for (i=0;i<numRows;i++) {
    6060        for (j=0;j<numCols;j++) {
    61             expect = psPolynomial1DEval((float) (i + j), myPoly);
     61            expect = psPolynomial1DEval(myPoly, (float) (i + j));
    6262            actual = myReadout->image->data.F32[i][j];
    6363            if (FLT_EPSILON < fabs(expect - actual)) {
Note: See TracChangeset for help on using the changeset viewer.