Changeset 12434 for trunk/psLib/src/math/psSpline.c
- Timestamp:
- Mar 13, 2007, 4:36:28 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psSpline.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psSpline.c
r10999 r12434 6 6 * This file contains the routines that allocate, free, and evaluate splines. 7 7 * 8 * @version $Revision: 1.15 7$ $Name: not supported by cvs2svn $9 * @date $Date: 2007-0 1-09 22:38:53$8 * @version $Revision: 1.158 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2007-03-14 02:36:28 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 386 386 tmpScalar.type.type = PS_TYPE_F32; 387 387 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) { 390 391 psError(PS_ERR_UNKNOWN, false, "Could not perform bin dissection on spline->knots.\n"); 391 392 return(NAN);
Note:
See TracChangeset
for help on using the changeset viewer.
