Skip to content

Commit

Permalink
src/sage/dynamics/arithmetic_dynamics/projective_ds.py: Replace a use…
Browse files Browse the repository at this point in the history
… of is_MPolynomialRing
  • Loading branch information
Matthias Koeppe committed Jul 22, 2024
1 parent a8d9b03 commit 6a16461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/dynamics/arithmetic_dynamics/projective_ds.py
Original file line number Diff line number Diff line change
Expand Up @@ -8473,7 +8473,7 @@ def normal_form(self, return_conjugation=False):
#we find one and not go all the way to the splitting field
i = 0
if G.degree() != 0:
if is_MPolynomialRing(G.parent()):
if isinstance(G.parent(), MPolynomialRing_base):
G = G.polynomial(G.variable(0))
else:
#no other fixed points
Expand Down

0 comments on commit 6a16461

Please sign in to comment.