histogram - added another upper bin to include cases which have max values
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Tue, 16 Feb 2016 09:30:32 +0000 (10:30 +0100)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Tue, 16 Feb 2016 09:30:32 +0000 (10:30 +0100)
commita0b0ffb38287336c2ebdc629956d3ced64dc12d5
tree683cdab6b0cc8eb3fa4c7e19749dfa7f539284c1
parentd2b2641dcadcdceede8be06df48739b11828b313
histogram - added another upper bin to include cases which have max values

This fixes the problem that cases which have values exactly at the upper
bin limit of the upper bin are not included in the binning. The fix
is based on the idea from John to just add another bin when the bin
limit is just equal to the maximum case value.
src/math/histogram.c