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

Commit 2adb101

Browse files
committed
32686: Correct tests
1 parent 5ec496e commit 2adb101

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/schemes/projective/proj_bdd_height.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def IQ_points_of_bounded_height(PN, K, dim, bound):
104104
sage: P.<x,y,z> = ProjectiveSpace(CF, 2)
105105
sage: len(list(IQ_points_of_bounded_height(P, CF, 2, -1)))
106106
0
107-
sage: len(list(IQ_points_of_bounded_height(CF, 2, 1)))
107+
sage: len(list(IQ_points_of_bounded_height(P, CF, 2, 1)))
108108
57
109109
"""
110110
if bound < 1:
@@ -181,7 +181,7 @@ def points_of_bounded_height(PN, K, dim, bound, prec=53):
181181
sage: from sage.schemes.projective.proj_bdd_height import points_of_bounded_height
182182
sage: K.<a> = NumberField(x^3 - 7)
183183
sage: P.<x,y,z> = ProjectiveSpace(K, 2)
184-
sage: len(list(points_of_bounded_height(K, 2, 1)))
184+
sage: len(list(points_of_bounded_height(P, K, 2, 1)))
185185
13
186186
"""
187187
if bound < 1:

0 commit comments

Comments
 (0)