Changeset 2725 for trunk/psLib/src/fileUtils/psLookupTable.c
- Timestamp:
- Dec 16, 2004, 8:53:35 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fileUtils/psLookupTable.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fileUtils/psLookupTable.c
r2369 r2725 7 7 * @author Ross Harman, MHPCC 8 8 * 9 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $10 * @date $Date: 2004-1 1-15 20:51:15$9 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2004-12-16 18:53:02 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 618 618 if(hiIdx >= numRows) { 619 619 psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psLookupTable_INTERPOLATE_HIGH, hiIdx); 620 *status = PS_LOOKUP_ERROR; 620 621 return 0.0; 621 622 } … … 625 626 if(loIdx < 0) { 626 627 psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psLookupTable_INTERPOLATE_LOW, loIdx); 628 *status = PS_LOOKUP_ERROR; 627 629 return 0.0; 628 630 } … … 631 633 if(fabs(denom) < FLT_EPSILON) { 632 634 psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psLookupTable_DIVIDE_BY_ZERO); 635 *status = PS_LOOKUP_ERROR; 633 636 return 0.0; 634 637 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
