Skip to content

Commit 6b82f18

Browse files
committed
projective_space.py: Change test result according to impl of ZZ_points_of_bounded_height
1 parent 135b686 commit 6b82f18

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/sage/schemes/projective/projective_space.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,9 +1109,12 @@ def points_of_bounded_height(self, **kwds):
11091109
11101110
::
11111111
1112-
sage: P.<z,w> = ProjectiveSpace(ZZ, 1) # TODO this is not implemented yet
1112+
sage: P.<w,z> = ProjectiveSpace(ZZ, 1)
11131113
sage: sorted(list(P.points_of_bounded_height(bound=2)))
1114-
[]
1114+
[(-2 : -1), (-2 : 1), (-1 : -2), (-1 : -1),
1115+
(-1 : 0), (-1 : 1), (-1 : 2), (0 : -1),
1116+
(0 : 1), (1 : -2), (1 : -1), (1 : 0),
1117+
(1 : 1), (1 : 2), (2 : -1), (2 : 1)]
11151118
"""
11161119
from sage.schemes.projective.proj_bdd_height import (
11171120
ZZ_points_of_bounded_height,

0 commit comments

Comments
 (0)