With commit 9e2289adb14123c3d265935436ec3c9ea110c748 a wrong use of np.resize was implemented. np.resize fills additionally added entries in the new array by repeating elements of the original one (see here). This can lead to wrong histograms in the final step of the analysis. The correct way of resizing in this case is array.resize(shape) as this method complements the original array with zeros (if needed).
With commit 9e2289adb14123c3d265935436ec3c9ea110c748 a wrong use of
np.resize
was implemented.np.resize
fills additionally added entries in the new array by repeating elements of the original one (see here). This can lead to wrong histograms in the final step of the analysis. The correct way of resizing in this case isarray.resize(shape)
as this method complements the original array with zeros (if needed).