#9934: Toric divisor class -> divisor lift should be integral
----------------------------------+-----------------------------------------
   Reporter:  vbraun              |       Owner:  AlexGhitza
       Type:  defect              |      Status:  new       
   Priority:  major               |   Milestone:  sage-4.6  
  Component:  algebraic geometry  |    Keywords:            
     Author:  Volker Braun        |    Upstream:  N/A       
   Reviewer:                      |      Merged:            
Work_issues:                      |  
----------------------------------+-----------------------------------------
 An integral divisor class should lift to an integral divisor. But:
 {{{
 sage: rays = [(1, 0, 0), (-1, 0, 0), (0, 1, 0), (0, 0, 1), (2, -1, -1)]
 sage: cones = [(0, 2, 3), (0, 2, 4), (0, 3, 4), (1, 2, 3), (1, 2, 4), (1,
 3, 4)]
 sage: X = ToricVariety(Fan(cones=cones, rays=rays))
 sage: X.rational_class_group().gen(1).lift()
 -1/2*V(z0) + 1/2*V(z1)
 }}}
 The attached patch fixes this and any doctest fallout.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9934>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to