Fixed usage of histograms with integer Arithmetic
And added a test checking new behavior. Basically integer arithmetic was broken as the index computation was optimized by precomputing the bin width. This lead to 0 bin width when < 1. Now fixed.
And added a test checking new behavior. Basically integer arithmetic was broken as the index computation was optimized by precomputing the bin width. This lead to 0 bin width when < 1. Now fixed.