From b5a51d1c0bc3eda065002dd505cade85f4d75514 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 19 Sep 2007 01:58:15 +0000 Subject: [PATCH] (histogram_plot): Remove incorrect assertion. Fixes bug #21101. Reviewed by John Darrington. --- src/output/charts/ChangeLog | 5 +++++ src/output/charts/plot-hist.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/output/charts/ChangeLog b/src/output/charts/ChangeLog index 71cf8636..f735a6cf 100644 --- a/src/output/charts/ChangeLog +++ b/src/output/charts/ChangeLog @@ -1,3 +1,8 @@ +2007-09-18 Ben Pfaff + + * plot-hist.c (histogram_plot): Remove incorrect assertion. Fixes + bug #21101. Reviewed by John Darrington. + Sun Feb 11 19:43:39 2007 Ben Pfaff * dummy-chart.c: Apply UNUSED and include additional headers to diff --git a/src/output/charts/plot-hist.c b/src/output/charts/plot-hist.c index bdc39ad1..0f183208 100644 --- a/src/output/charts/plot-hist.c +++ b/src/output/charts/plot-hist.c @@ -156,7 +156,6 @@ histogram_plot(const gsl_histogram *hist, gsl_histogram_get_range(hist, 0, &x_min, ¬_used); range = not_used - x_min; gsl_histogram_get_range(hist, bins - 1, ¬_used, &x_max); - assert(range == x_max - not_used); abscissa_scale = (ch->data_right - ch->data_left) / (x_max - x_min); ordinate_scale = (ch->data_top - ch->data_bottom) / -- 2.30.2