aboutsummaryrefslogtreecommitdiff
path: root/hist.c
diff options
context:
space:
mode:
Diffstat (limited to 'hist.c')
-rw-r--r--hist.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hist.c b/hist.c
index ba492f2..32bf5b7 100644
--- a/hist.c
+++ b/hist.c
@@ -100,11 +100,12 @@ static void hist_set(t_hist *x, t_float lo, t_float hi, t_float nbins)
if (nbins<1)
{
nbins=1;
- post("hist: number of bins is minimum 1...");
+ logpost(x, 2, "[hist] minimum number of bins is 1");
}
if (hi<=lo)
{
- post("hist: higher bound must be higher than lower bound...");
+ logpost(x, 2, "[hist] higher bound (%g) must be greater than lower bound (%g)",
+ hi, lo);
hi=lo+1.0f;
}