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

Commit ff89c6e

Browse files
committed
32686: Correct doc and add an example
1 parent 458fba4 commit ff89c6e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/sage/schemes/projective/projective_space.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,7 @@ def points_of_bounded_height(self, **kwds):
18621862
18631863
kwds:
18641864
1865-
- ``bound`` - an integer
1865+
- ``bound`` - a real number
18661866
18671867
- ``precision`` - (default: 53) a positive integer
18681868
@@ -1924,6 +1924,14 @@ def points_of_bounded_height(self, **kwds):
19241924
sage: P.<x,y> = ProjectiveSpace(K, 1)
19251925
sage: len(list(P.points_of_bounded_height(bound=2)))
19261926
108
1927+
1928+
::
1929+
1930+
R.<x> = QQ[]
1931+
K.<v> = NumberField(x^5 + x^3 + 1)
1932+
P.<x,y,z> = ProjectiveSpace(K, 2)
1933+
L = P.points_of_bounded_height(bound=1.2)
1934+
0
19271935
"""
19281936
from sage.schemes.projective.proj_bdd_height import QQ_points_of_bounded_height, IQ_points_of_bounded_height, points_of_bounded_height
19291937

0 commit comments

Comments
 (0)