diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-29 18:59:56 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-10-29 18:59:56 +0000 |
commit | e1775060ebae110fd14dddee80f75e809d75fdac (patch) | |
tree | 6bf3fb7100c2d43d589bc3dc685976f1e2c2d99b /lhisti.c | |
parent | e746ce11899b6ad2ba46643ccc038e758f5912cd (diff) |
updated to use logpost for bounds errors
svn path=/trunk/externals/smlib/; revision=15681
Diffstat (limited to 'lhisti.c')
-rw-r--r-- | lhisti.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -119,11 +119,12 @@ static void lhisti_set(t_lhisti *x, t_float lo, t_float hi, t_float nbins) if (nbins<1)
{
nbins=1;
- post("lhisti: number of bins is minimum 1...");
+ logpost(x, 2, "[lhisti] number of bins is minimum 1");
}
if (hi<=lo)
{
- post("lhisti: higher bound must be higher than lower bound...");
+ post("[lhisti] higher bound (%g) must be greater than lower bound (%g)",
+ hi, lo);
hi=lo+1.0f;
}
freebytes(x->m_lhisti, x->m_nbins);
|