IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 24, 2004, 12:14:39 PM (22 years ago)
Author:
gusciora
Message:

Changing order of args to poly eval function.

File:
1 edited

Legend:

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

    r2411 r2436  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.99 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-11-24 00:05:54 $
     11 *  @version $Revision: 1.100 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-11-24 22:14:39 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    10631063    // falls within the range of y-values of the polynomial "myPoly" in the
    10641064    // specified x-range (rangeLow:rangeHigh).
    1065     float fLo = psPolynomial1DEval(rangeLow, myPoly);
    1066     float fHi = psPolynomial1DEval(rangeHigh, myPoly);
     1065    float fLo = psPolynomial1DEval(
     1066                    myPoly,
     1067                    rangeLow
     1068                );
     1069    float fHi = psPolynomial1DEval(
     1070                    myPoly,
     1071                    rangeHigh
     1072                );
    10671073    if (!((fLo <= getThisValue) && (fHi >= getThisValue))) {
    10681074        psError(PS_ERR_UNKNOWN,
     
    10841090        oldMidpoint = midpoint;
    10851091
    1086         f = psPolynomial1DEval(midpoint, myPoly);
     1092        f = psPolynomial1DEval(
     1093                myPoly,
     1094                midpoint
     1095            );
    10871096        if (fabs(f - getThisValue) <= FLT_EPSILON) {
    10881097            return (midpoint);
Note: See TracChangeset for help on using the changeset viewer.