pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] pspp/src/output/charts ChangeLog plot-hist.c


From: Ben Pfaff
Subject: [Pspp-cvs] pspp/src/output/charts ChangeLog plot-hist.c
Date: Wed, 19 Sep 2007 01:58:16 +0000

CVSROOT:        /cvsroot/pspp
Module name:    pspp
Changes by:     Ben Pfaff <blp> 07/09/19 01:58:16

Modified files:
        src/output/charts: ChangeLog plot-hist.c 

Log message:
        (histogram_plot): Remove incorrect assertion.  Fixes bug #21101.
        Reviewed by John Darrington.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/src/output/charts/ChangeLog?cvsroot=pspp&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/pspp/src/output/charts/plot-hist.c?cvsroot=pspp&r1=1.5&r2=1.6

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/pspp/pspp/src/output/charts/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- ChangeLog   12 Feb 2007 03:44:36 -0000      1.3
+++ ChangeLog   19 Sep 2007 01:58:15 -0000      1.4
@@ -1,3 +1,8 @@
+2007-09-18  Ben Pfaff  <address@hidden>
+
+       * plot-hist.c (histogram_plot): Remove incorrect assertion.  Fixes
+       bug #21101.  Reviewed by John Darrington.
+
 Sun Feb 11 19:43:39 2007  Ben Pfaff  <address@hidden>
 
        * dummy-chart.c: Apply UNUSED and include additional headers to

Index: plot-hist.c
===================================================================
RCS file: /cvsroot/pspp/pspp/src/output/charts/plot-hist.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- plot-hist.c 7 Jul 2007 06:14:26 -0000       1.5
+++ plot-hist.c 19 Sep 2007 01:58:15 -0000      1.6
@@ -156,7 +156,6 @@
     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) /




reply via email to

[Prev in Thread] Current Thread [Next in Thread]