Skip to content

Commit 13bc753

Browse files
author
Matthias Koeppe
committed
src/sage/schemes/toric/variety.py: Fix # needs
1 parent dc35e84 commit 13bc753

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/sage/schemes/toric/variety.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,14 @@
263263
264264
sage: AA = P4_11133.Chow_group(QQ)
265265
sage: list(map(AA, P4_11133.fan(1))) # long time (5s on sage.math, 2012)
266-
[( 0 | 0 | 0 | 3 | 0 ), ( 0 | 0 | 0 | 3 | 0 ), ( 0 | 0 | 0 | 1 | 0 ), ( 0 | 0 | 0 | 1 | 0 ), ( 0 | 0 | 0 | 1 | 0 )]
266+
[( 0 | 0 | 0 | 3 | 0 ), ( 0 | 0 | 0 | 3 | 0 ),
267+
( 0 | 0 | 0 | 1 | 0 ), ( 0 | 0 | 0 | 1 | 0 ), ( 0 | 0 | 0 | 1 | 0 )]
267268
sage: list(map(AA, P4_11133.fan(4))) # long time (5s on sage.math, 2012)
268-
[( 1 | 0 | 0 | 0 | 0 ), ( 1 | 0 | 0 | 0 | 0 ), ( 1 | 0 | 0 | 0 | 0 ), ( 1 | 0 | 0 | 0 | 0 ), ( 1 | 0 | 0 | 0 | 0 )]
269-
sage: AA(cone).intersection_with_divisor(D) # long time (4s on sage.math, 2013)
269+
[( 1 | 0 | 0 | 0 | 0 ), ( 1 | 0 | 0 | 0 | 0 ),
270+
( 1 | 0 | 0 | 0 | 0 ), ( 1 | 0 | 0 | 0 | 0 ), ( 1 | 0 | 0 | 0 | 0 )]
271+
sage: AA(cone).intersection_with_divisor(D) # long time (4s on sage.math, 2013) # needs sage.libs.singular
270272
( 1 | 0 | 0 | 0 | 0 )
271-
sage: AA(cone).intersection_with_divisor(D).count_points() # long time
273+
sage: AA(cone).intersection_with_divisor(D).count_points() # long time # needs sage.libs.singular
272274
1
273275
274276
The real advantage of the Chow group is that

0 commit comments

Comments
 (0)