Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Jun 4, 2022
1 parent 1f9d749 commit b60f859
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion diofant/polys/polyutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def _unify_gens(f_gens, g_gens):

for i, gen in enumerate(g_gens):
if gen in common:
g_gens[i], k = common[k], k + 1
g_gens[i], k = common[k], k + 1 # pylint: disable=unnecessary-list-index-lookup

for gen in common:
i = f_gens.index(gen)
Expand Down
2 changes: 1 addition & 1 deletion diofant/solvers/polysys.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def tr_surd(e):

denoms = []
for i, e in enumerate(eqs):
eqs[i], d = e.as_numer_denom()
eqs[i], d = e.as_numer_denom() # pylint: disable=unnecessary-list-index-lookup
if not d.is_constant(*gens):
denoms.insert(0, d)

Expand Down

0 comments on commit b60f859

Please sign in to comment.