#9326: Add cohomology of toric varieties
----------------------------------+-----------------------------------------
   Reporter:  vbraun              |       Owner:  AlexGhitza
       Type:  enhancement         |      Status:  needs_info
   Priority:  major               |   Milestone:  sage-4.5  
  Component:  algebraic geometry  |    Keywords:            
     Author:  Volker Braun        |    Upstream:  N/A       
   Reviewer:  Andrey Novoseltsev  |      Merged:            
Work_issues:                      |  
----------------------------------+-----------------------------------------
Changes (by vbraun):

  * status:  needs_review => needs_info


Comment:

 I fixed `QuotientRing` to use the coercion as described in the wiki, but
 now everything else breaks. Something is going on with the coercion system
 that I don't understand. With the `first_attempt.patch`, the quotient
 rings work fine. But, for example, this now fails:
 {{{
 sage: FF = FiniteField(7)
 sage: P.<x> = PolynomialRing(FF)
 sage: x+1
 TypeError                                 Traceback (most recent call
 last)

 /home/vbraun/opt/sage-4.5.alpha1/devel/sage-main/<ipython console> in
 <module>()

 /home/vbraun/Sage/sage/local/lib/python2.6/site-
 packages/sage/structure/element.so in
 sage.structure.element.RingElement.__add__
 (sage/structure/element.c:10876)()

 /home/vbraun/Sage/sage/local/lib/python2.6/site-
 packages/sage/structure/coerce.so in
 sage.structure.coerce.CoercionModel_cache_maps.bin_op
 (sage/structure/coerce.c:6966)()

 TypeError: unsupported operand parent(s) for '+': 'Univariate Polynomial
 Ring in x over Finite Field of size 7' and 'Integer Ring'
 }}}
 But I neither touched univariate polynomial rings nor finite field code!
 Does anyone understand what is going on?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9326#comment:9>
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