From 4c629b4ce16a32b99a8127f5553cdb9015bf5e80 Mon Sep 17 00:00:00 2001 From: Denis Trofimov Date: Fri, 20 Sep 2019 23:20:49 +0300 Subject: [PATCH] fix: Syntax Error lgtm display in matrix/matrix_operation.py. --- matrix/matrix_operation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]]