#7951: coercion problem with 0 variable polynomials
--------------------------------+-------------------------------------------
   Reporter:  burcin            |       Owner:  AlexGhitza   
       Type:  defect            |      Status:  needs_review 
   Priority:  major             |   Milestone:  sage-4.3.1   
  Component:  basic arithmetic  |    Keywords:               
Work_issues:                    |      Author:  Burcin Erocal
   Upstream:  N/A               |    Reviewer:               
     Merged:                    |  
--------------------------------+-------------------------------------------
Changes (by newvalueoldvalue):

  * status:  new => needs_review
  * author:  => Burcin Erocal


Comment:

 Here is the cause:

 {{{
 sage: P = PolynomialRing(QQ,0,'')
 sage: P('pi')
 pi
 sage: type(P('pi'))
 <type 'sage.symbolic.expression.Expression'>
 }}}

 attachment:trac_7951-zero_variable_poly_coercion.patch has the fix.

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