pre-commit autoupdate 2025-09-11 (#12963)

* pre-commit autoupdate 2025-09-11

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Christian Clauss
2025-09-13 00:56:14 +02:00
committed by GitHub
parent 18c853d301
commit 63180d7e24
16 changed files with 33 additions and 32 deletions

View File

@@ -112,7 +112,7 @@ def jacobi_iteration_method(
(coefficient_matrix, constant_matrix), axis=1
)
rows, cols = table.shape
rows, _cols = table.shape
strictly_diagonally_dominant(table)
@@ -149,7 +149,7 @@ def jacobi_iteration_method(
# Here we get 'i_col' - these are the column numbers, for each row
# without diagonal elements, except for the last column.
i_row, i_col = np.where(masks)
_i_row, i_col = np.where(masks)
ind = i_col.reshape(-1, rows - 1)
#'i_col' is converted to a two-dimensional list 'ind', which will be