Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
one more detail in dynamics
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Jan 9, 2021
1 parent f578fa1 commit d81797e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/dynamics/arithmetic_dynamics/projective_ds.py
Expand Up @@ -6996,10 +6996,10 @@ def potential_good_reduction(self, prime):
old_parent = K.defining_polynomial().parent()
new_parent = field_of_definition_periodic.defining_polynomial().parent()
hom = old_parent.hom([new_parent.gens()[0]])
if hom(K.defining_polynomial()) != \
field_of_definition_periodic.defining_polynomial():
raise ValueError('prime ideal of %s ' %K + \
'but field of definition of fixed points is %s. ' %L + \
L = field_of_definition_periodic
if hom(K.defining_polynomial()) != L.defining_polynomial():
raise ValueError('prime ideal of %s ' % K +
'but field of definition of fixed points is %s. ' % L +
'see documentation for examples')
embedding = K.embeddings(field_of_definition_periodic)[0]
prime = embedding(prime)
Expand Down

0 comments on commit d81797e

Please sign in to comment.