#9902: base_extend() not implemented in MPolynomialRing
-----------------------------------+----------------------------------------
   Reporter:  vbraun               |       Owner:  malb    
       Type:  defect               |      Status:  new     
   Priority:  major                |   Milestone:  sage-4.6
  Component:  commutative algebra  |    Keywords:          
     Author:  Volker Braun         |    Upstream:  N/A     
   Reviewer:                       |      Merged:          
Work_issues:                       |  
-----------------------------------+----------------------------------------
 The base `class Ring` defines `base_extend()`, but the implementation
 needs to be overridden in the derived class `MPolynomialRing`:
 {{{
 sage: sage: P.<x,y,z> = PolynomialRing(QQ,'x, y, z'); P
 Multivariate Polynomial Ring in x, y, z over Rational Field
 sage: P.base_extend(CC)
 ---------------------------------------------------------------------------
 TypeError                                 Traceback (most recent call
 last)

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

 /home/vbraun/Sage/sage/local/lib/python2.6/site-
 packages/sage/rings/ring.so in sage.rings.ring.Ring.base_extend
 (sage/rings/ring.c:3190)()

 TypeError: no base extension defined
 }}}
 The patch implements the override and adds documentation.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9902>
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