Fix small error in histogramArray().