Skip to content
Snippets Groups Projects
Commit ba422dc7 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Placate new Flake8

parent 6bc4a4fe
No related branches found
No related tags found
No related merge requests found
......@@ -265,9 +265,9 @@ def gaussian_elimination(mat, rhs):
# already 0
continue
l = lcm(mat[u, j], mat[i, j])
u_fac = l//mat[u, j]
i_fac = l//mat[i, j]
ell = lcm(mat[u, j], mat[i, j])
u_fac = ell//mat[u, j]
i_fac = ell//mat[i, j]
mat[u] = u_fac*mat[u] - i_fac*mat[i]
rhs[u] = u_fac*rhs[u] - i_fac*rhs[i]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment