diff --git a/matrix/matrix_operation.py b/matrix/matrix_operation.py index b32a4dcf7..31f39b0b9 100644 --- a/matrix/matrix_operation.py +++ b/matrix/matrix_operation.py @@ -123,7 +123,7 @@ def _verify_matrix_sizes(matrix_a, matrix_b): shape += _shape(matrix_b) if shape[0] != shape[2] or shape[1] != shape[3]: raise ValueError(f"operands could not be broadcast together with shape " - f"({shape[0], shape[1]}), ({shape[2], shape[3]})") + f"({shape[0]}, {shape[1]}), ({shape[2]}, {shape[3]})") return [shape[0], shape[2]], [shape[1], shape[3]]