(histogram_plot): Remove incorrect assertion. Fixes bug #21101.
authorBen Pfaff <blp@gnu.org>
Wed, 19 Sep 2007 01:58:15 +0000 (01:58 +0000)
committerBen Pfaff <blp@gnu.org>
Wed, 19 Sep 2007 01:58:15 +0000 (01:58 +0000)
Reviewed by John Darrington.

src/output/charts/ChangeLog
src/output/charts/plot-hist.c

index 71cf8636bc5e1dabaca316ce96924bf566e852d1..f735a6cf7b62bca89ba5db1576a397150d83a661 100644 (file)
@@ -1,3 +1,8 @@
+2007-09-18  Ben Pfaff  <blp@gnu.org>
+
+       * plot-hist.c (histogram_plot): Remove incorrect assertion.  Fixes
+       bug #21101.  Reviewed by John Darrington.
+
 Sun Feb 11 19:43:39 2007  Ben Pfaff  <blp@gnu.org>
 
        * dummy-chart.c: Apply UNUSED and include additional headers to
index bdc39ad17ac94baf1f8041c2925da52454f8bef2..0f183208a2486ac5c4e07c4fd325b4bbf6a12d6d 100644 (file)
@@ -156,7 +156,6 @@ histogram_plot(const gsl_histogram *hist,
     gsl_histogram_get_range(hist, 0, &x_min, &not_used);
     range = not_used - x_min;
     gsl_histogram_get_range(hist, bins - 1, &not_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) /