IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 17, 2008, 1:43:03 PM (18 years ago)
Author:
jhoblitt
Message:

convert assert() to psAssert()

File:
1 edited

Legend:

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

    r15840 r17447  
    1313 * use ->min and ->max (PS_STAT_USE_RANGE)
    1414 *
    15  *  @version $Revision: 1.221 $ $Name: not supported by cvs2svn $
    16  *  @date $Date: 2007-12-15 01:17:28 $
     15 *  @version $Revision: 1.222 $ $Name: not supported by cvs2svn $
     16 *  @date $Date: 2008-04-17 23:43:02 $
    1717 *
    1818 *  Copyright 2006 IfA, University of Hawaii
     
    521521    }
    522522
    523     assert(count > 1);                  // It should be, because we have a mean and standard deviation
     523    psAssert(count > 1, "impossible");                  // It should be, because we have a mean and standard deviation
    524524
    525525    double stdev = stats->sampleStdev;  // Standard deviation
Note: See TracChangeset for help on using the changeset viewer.