X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fhistogram.c;h=0c641b56e127ddbdf9a180363629101fad746b6c;hb=48e0129f54424a6fd5fb1bc7651e48dedc5293c2;hp=3c88c3858f61c6b1c2230843a7b9151a47902956;hpb=d0b91eae59319ab2756d0d43b9cb15eb9cd3c234;p=pspp-builds.git diff --git a/src/math/histogram.c b/src/math/histogram.c index 3c88c385..0c641b56 100644 --- a/src/math/histogram.c +++ b/src/math/histogram.c @@ -65,7 +65,7 @@ histogram_create (int bins, double min, double max) int n = ceil (max / (bin_width_2) ) ; - assert (max > min); + assert (max >= min); if ( ! (n % 2 ) ) n++; upper_limit = n * bin_width_2;