IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2007, 5:00:07 PM (19 years ago)
Author:
magnier
Message:

error, not abort, on fitted_mean error condition

File:
1 edited

Legend:

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

    r12692 r12700  
    1313 * use ->min and ->max (PS_STAT_USE_RANGE)
    1414 *
    15  *  @version $Revision: 1.207 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2007-03-30 03:24:38 $
     15 *  @version $Revision: 1.208 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2007-03-31 03:00:07 $
    1717 *
    1818 *  Copyright 2006 IfA, University of Hawaii
     
    13751375        PS_BIN_FOR_VALUE (binMax, histogram->bounds, guessMean + maxFitSigma*guessStdev, 0);
    13761376        if (binMin == binMax) {
    1377             psAbort ("invalid range for fitted mean");
     1377            psError(PS_ERR_UNKNOWN, false, "Failed to calculate the min/max of the input vector.\n");
     1378            psFree(statsMinMax);
     1379            psTrace(TRACE, 4, "---- %s(false) end  ----\n", __func__);
     1380            return false;
    13781381        }
    13791382
Note: See TracChangeset for help on using the changeset viewer.