histogram - changed bin range computation
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Mon, 15 Feb 2016 18:40:22 +0000 (19:40 +0100)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Mon, 15 Feb 2016 18:40:22 +0000 (19:40 +0100)
commit19e56b3221e1008ad4cd374c2e8fc925da8ba1a7
tree149f175324237908f6d6f00288f78237cbf9603d
parentca4012bcf0f8790ceb8539b55bbc296d0802d5d7
histogram - changed bin range computation

The bin range computation for the histogram showed bin limits at 4.999999
when 5.0 was expected. Added values with value 5.0 were therefore added
to the following bin. With this change the bin limits do not show the
rounding error. At least I could not reproduce the error that showed
up when using the routing from gsl_histogram_set_ranges_uniform.
src/math/histogram.c