#12749: Raise algebras/free_algebra.py coverage to 100%
----------------------------------------+-----------------------------------
       Reporter:  JStarx                |         Owner:  mvngu                 
 
           Type:  enhancement           |        Status:  needs_work            
 
       Priority:  trivial               |     Milestone:  sage-5.0              
 
      Component:  doctest               |    Resolution:                        
 
       Keywords:  FreeAlgebra, doctest  |   Work issues:  correct false 
statement
Report Upstream:  N/A                   |     Reviewers:                        
 
        Authors:  Jim Stark             |     Merged in:                        
 
   Dependencies:                        |      Stopgaps:                        
 
----------------------------------------+-----------------------------------
Changes (by davidloeffler):

  * status:  needs_review => needs_work
  * work_issues:  => correct false statement


Comment:

 In the list of things coercing into a free algebra, you have
 {{{
         398             - Polynomial rings in the same variables over a
 base with a coercion
         399               map into self.base_ring()
 }}}
 This is false: a polynomial ring (in which the variables commute) does
 not, and should not, coerce into a free algebra (in which they don't). Did
 you mean "'''free algebras''' in the same variables..."?
 {{{
 sage: F = FreeAlgebra(ZZ, 3, 'x,y,z')
 sage: G = PolynomialRing(ZZ, 3, 'x,y,z')
 sage: F.has_coerce_map_from(G)
 False
 }}}

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