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

Commit

Permalink
31944: fixed calls to affine preperiodic model
Browse files Browse the repository at this point in the history
  • Loading branch information
EnderWannabe committed Jul 9, 2021
1 parent a63927e commit 9b5e74f
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions src/sage/dynamics/arithmetic_dynamics/projective_ds.py
Expand Up @@ -3997,24 +3997,9 @@ def preperiodic_points(self, m, n, **kwds):
sage: P.<x,y,z> = ProjectiveSpace(GF(5), 2)
sage: f = DynamicalSystem_projective([x^2, y^2, z^2])
sage: sorted(f.preperiodic_points(2, 1))
[(0 : 2 : 1),
(0 : 3 : 1),
(1 : 2 : 1),
(1 : 3 : 1),
(2 : 0 : 1),
(2 : 1 : 0),
(2 : 1 : 1),
(2 : 2 : 1),
(2 : 3 : 1),
(2 : 4 : 1),
(3 : 0 : 1),
(3 : 1 : 0),
(3 : 1 : 1),
(3 : 2 : 1),
(3 : 3 : 1),
(3 : 4 : 1),
(4 : 2 : 1),
(4 : 3 : 1)]
[(0 : 2 : 1), (0 : 3 : 1), (1 : 2 : 1), (1 : 3 : 1), (2 : 0 : 1), (2 : 1 : 0),
(2 : 1 : 1), (2 : 2 : 1), (2 : 3 : 1), (2 : 4 : 1), (3 : 0 : 1), (3 : 1 : 0),
(3 : 1 : 1), (3 : 2 : 1), (3 : 3 : 1), (3 : 4 : 1), (4 : 2 : 1), (4 : 3 : 1)]
::
Expand Down Expand Up @@ -4109,7 +4094,7 @@ def preperiodic_points(self, m, n, **kwds):
if formal:
d = f.degree()
# we need a model with no preperiodic points at infinity
new_f, mat = f.affine_preperiodic_model(n, m, return_conjugation=True)
new_f, mat = f.affine_preperiodic_model(m, n, return_conjugation=True)
new_f.normalize_coordinates()
# we now deform by a parameter t
T = R['t']
Expand Down Expand Up @@ -4448,7 +4433,7 @@ def periodic_points(self, n, minimal=True, formal=False, R=None, algorithm='vari
if N > 2:
d = f.degree()
# we need a model with no periodic points at infinity
new_f, mat = f.affine_preperiodic_model(n, m=0, return_conjugation=True)
new_f, mat = f.affine_preperiodic_model(0, n, return_conjugation=True)
new_f.normalize_coordinates()
# we now deform by a parameter t
T = R['t']
Expand Down

0 comments on commit 9b5e74f

Please sign in to comment.