From e1775060ebae110fd14dddee80f75e809d75fdac Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 29 Oct 2011 18:59:56 +0000 Subject: updated to use logpost for bounds errors svn path=/trunk/externals/smlib/; revision=15681 --- lhisti.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lhisti.c') diff --git a/lhisti.c b/lhisti.c index 826cce4..f6433c0 100644 --- a/lhisti.c +++ b/lhisti.c @@ -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); -- cgit v1.2.1