The binsize and nbins arguments to count_cycles used to produce inconsistent bins: all bins except the last one would include the left edge and exclude the right edge, while the last bin would include both edges. This PR changes this behavior so that all bins exclude the left edge and include the right one. See #42 for discussion and examples.
This change has no impact on most real life applications, since the probability of obtaining a load cycle which exactly equals to one of the bin edges is infinitely small.
The
binsize
andnbins
arguments tocount_cycles
used to produce inconsistent bins: all bins except the last one would include the left edge and exclude the right edge, while the last bin would include both edges. This PR changes this behavior so that all bins exclude the left edge and include the right one. See #42 for discussion and examples.This change has no impact on most real life applications, since the probability of obtaining a load cycle which exactly equals to one of the bin edges is infinitely small.