We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a919c23 commit ce6de0bCopy full SHA for ce6de0b
src/systems/alias_elimination.jl
@@ -283,8 +283,8 @@ function bareiss!(
283
for ei in k+1:m
284
# elimate `v`
285
coeff = 0
286
- vars = eadj[ei]
287
- vj = findfirst(isequal(v), vars)
+ ivars = eadj[ei]
+ vj = findfirst(isequal(v), ivars)
288
if vj === nothing # `v` is not in in `e`
289
continue
290
else # remove `v`
@@ -303,7 +303,7 @@ function bareiss!(
303
empty!(tmp_incidence)
304
empty!(tmp_coeffs)
305
empty!(vars)
306
- union!(vars, kvars, ivars)
+ union!(vars, ivars, kvars)
307
308
for v in vars
309
ck = getcoeff(kvars, kcoeffs, v)
0 commit comments