Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 22, 2024
1 parent 58d36d0 commit f1d2a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linear_algebra/src/gaussian_elimination_pivoting.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def solve_linear_system(matrix: np.ndarray) -> np.ndarray:
x_lst: list[float] = []

if num_of_rows != num_of_columns:
raise ValueError("Matrix is not square")
raise ValueError("Matrix is not square")

for column_num in range(num_of_rows):
# Lead element search
Expand Down

0 comments on commit f1d2a8c

Please sign in to comment.