IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 27, 2012, 9:55:09 AM (13 years ago)
Author:
bills
Message:

enhance assert requiring nbins > 0 to show the supplied illegal value

File:
1 edited

Legend:

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

    r27553 r34702  
    5858    psTrace("psLib.math", 3, "---- %s() begin  ----\n", __func__);
    5959    psTrace("psLib.math", 5, "(lower, upper, n) is (%f, %f, %d)\n", lower, upper, n);
    60     psAssert(n > 0, "Number of bins must be positive");
     60    psAssert(n > 0, "Number of bins must be positive not %d", n);
    6161    psAssert(upper >= lower, "Bounds must be sensical");
    6262
Note: See TracChangeset for help on using the changeset viewer.