fix: gaussian elimination
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user