mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
16124fc63c
commit
658c48493b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user