IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 13, 2007, 4:36:28 PM (19 years ago)
Author:
magnier
Message:

changing p_psVectorBinDisect to psVectorBinaryDisect, adding psVectorBinaryDisectResult

File:
1 edited

Legend:

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

    r10999 r12434  
    66*  This file contains the routines that allocate, free, and evaluate splines.
    77*
    8 *  @version $Revision: 1.157 $ $Name: not supported by cvs2svn $
    9 *  @date $Date: 2007-01-09 22:38:53 $
     8*  @version $Revision: 1.158 $ $Name: not supported by cvs2svn $
     9*  @date $Date: 2007-03-14 02:36:28 $
    1010*
    1111*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    386386    tmpScalar.type.type = PS_TYPE_F32;
    387387    tmpScalar.data.F32 = x;
    388     psS32 binNum = p_psVectorBinDisect(spline->knots, &tmpScalar);
    389     if (binNum < 0) {
     388    psVectorBinaryDisectResult result;
     389    psS32 binNum = psVectorBinaryDisect(&result, spline->knots, &tmpScalar);
     390    if (result != PS_BINARY_DISECT_PASS) {
    390391        psError(PS_ERR_UNKNOWN, false, "Could not perform bin dissection on spline->knots.\n");
    391392        return(NAN);
Note: See TracChangeset for help on using the changeset viewer.