From 658c48493b7097bb51552ebb10ce76c4c5ea00af Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 12 Oct 2024 21:38:47 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- matrix/kronecker_product.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/matrix/kronecker_product.py b/matrix/kronecker_product.py index 9504f216f..f7c0e70f3 100644 --- a/matrix/kronecker_product.py +++ b/matrix/kronecker_product.py @@ -64,9 +64,7 @@ def kronecker_product( for c_index_b in range(cols_matrix_b): result[r_index_a * rows_matrix_b + r_index_b][ c_index_a * cols_matrix_b + c_index_b - ] = ( - matrix_a[r_index_a][c_index_a] * matrix_b[r_index_b][c_index_b] - ) + ] = matrix_a[r_index_a][c_index_a] * matrix_b[r_index_b][c_index_b] return result