IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9980


Ignore:
Timestamp:
Nov 14, 2006, 2:26:40 PM (19 years ago)
Author:
des
Message:

Changed "if (MJD == NAN"..." to "if isnan(MJD)..." per Standard C.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psTime.c

    r9819 r9980  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.102 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-11-01 21:56:27 $
     12 *  @version $Revision: 1.103 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-11-15 00:26:40 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    956956    // Convert psTime to MJD
    957957    double MJD = psTimeToMJD(time);
    958     if (MJD == NAN) {
     958    if (isnan(MJD)) {
    959959        psError(PS_ERR_BAD_PARAMETER_VALUE, false,
    960960                "Time conversion to MJD failed.  Invalid input time.\n");
Note: See TracChangeset for help on using the changeset viewer.