IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 28, 2005, 12:49:33 PM (21 years ago)
Author:
evanalst
Message:

Update return value for max/min statistics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psStats.c

    r3501 r3529  
    99 *  @author GLG, MHPCC
    1010 *
    11  *  @version $Revision: 1.120 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2005-03-24 23:56:18 $
     11 *  @version $Revision: 1.121 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2005-03-28 22:49:33 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    22732273            psError(PS_ERR_UNKNOWN, false,
    22742274                    "Failed to calculate vector maximum");
    2275             psFree(stats);
    2276             return(NULL);
     2275            stats->max = NAN;
    22772276        }
    22782277    }
     
    22822281            psError(PS_ERR_UNKNOWN, false,
    22832282                    "Failed to calculate vector minimum");
    2284             psFree(stats);
    2285             return(NULL);
     2283            stats->min = NAN;
    22862284        }
    22872285    }
Note: See TracChangeset for help on using the changeset viewer.