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

Commit 00af5c7

Browse files
committed
32686: Correct doc and add an example
1 parent a237352 commit 00af5c7

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
@@ -1863,7 +1863,7 @@ def points_of_bounded_height(self, **kwds):
18631863
18641864
kwds:
18651865
1866-
- ``bound`` - an integer
1866+
- ``bound`` - a real number
18671867
18681868
- ``precision`` - (default: 53) a positive integer
18691869
@@ -1925,6 +1925,14 @@ def points_of_bounded_height(self, **kwds):
19251925
sage: P.<x,y> = ProjectiveSpace(K, 1)
19261926
sage: len(list(P.points_of_bounded_height(bound=2)))
19271927
108
1928+
1929+
::
1930+
1931+
R.<x> = QQ[]
1932+
K.<v> = NumberField(x^5 + x^3 + 1)
1933+
P.<x,y,z> = ProjectiveSpace(K, 2)
1934+
L = P.points_of_bounded_height(bound=1.2)
1935+
0
19281936
"""
19291937
from sage.schemes.projective.proj_bdd_height import QQ_points_of_bounded_height, IQ_points_of_bounded_height, points_of_bounded_height
19301938

0 commit comments

Comments
 (0)