Analogous to the above comment: if the matrix is full of positive values, this incorrectly returns 0 as the minimum.