fix: gaussian elimination

This commit is contained in:
2026-04-27 23:46:01 -06:00
parent 1a40c19be3
commit 41ec49857f

View File

@@ -254,7 +254,7 @@ impl Matrix {
new_matrix.set_row(i, new_pivot_row); new_matrix.set_row(i, new_pivot_row);
for r in 0..new_matrix.rows { for r in 0..new_matrix.rows {
if r == 1 { if r == i {
continue; continue;
} }