Fix division by 0 bug in distributional
The previous code was sometimes yielding a matrix of NaN numbers as it was attempting the division of the input matrix with the diagonal, which would be 0 in case of an input matrix of 0, resulting in a division by 0 error.
Showing
Please register or sign in to comment