IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 16, 2004, 8:53:35 AM (22 years ago)
Author:
harman
Message:

Added new time math functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fileUtils/psLookupTable.c

    r2369 r2725  
    77*  @author Ross Harman, MHPCC
    88*
    9 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2004-11-15 20:51:15 $
     9*  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2004-12-16 18:53:02 $
    1111*
    1212*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    618618            if(hiIdx >= numRows) {
    619619                psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psLookupTable_INTERPOLATE_HIGH, hiIdx);
     620                *status = PS_LOOKUP_ERROR;
    620621                return 0.0;
    621622            }
     
    625626        if(loIdx < 0) {
    626627            psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psLookupTable_INTERPOLATE_LOW, loIdx);
     628            *status = PS_LOOKUP_ERROR;
    627629            return 0.0;
    628630        }
     
    631633        if(fabs(denom) < FLT_EPSILON) {
    632634            psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psLookupTable_DIVIDE_BY_ZERO);
     635            *status = PS_LOOKUP_ERROR;
    633636            return 0.0;
    634637        } else {
Note: See TracChangeset for help on using the changeset viewer.