From: Ben Pfaff Date: Wed, 19 Sep 2007 01:58:15 +0000 (+0000) Subject: (histogram_plot): Remove incorrect assertion. Fixes bug #21101. X-Git-Tag: v0.6.0~265 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5a51d1c0bc3eda065002dd505cade85f4d75514;p=pspp-builds.git (histogram_plot): Remove incorrect assertion. Fixes bug #21101. Reviewed by John Darrington. --- 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) /