#15110: Bug in matrix constructor
------------------------------+--------------------------------------
   Reporter:  caruso          |            Owner:
       Type:  defect          |           Status:  new
   Priority:  major           |        Milestone:  sage-5.12
  Component:  linear algebra  |         Keywords:  matrix constructor
  Merged in:                  |          Authors:  Xavier Caruso
  Reviewers:                  |  Report Upstream:  N/A
Work issues:                  |           Branch:
     Commit:                  |     Dependencies:
   Stopgaps:                  |
------------------------------+--------------------------------------
 Here is the bug

 {{{
 sage: S.<t> = LaurentSeriesRing(ZZ)
 sage: MS = MatrixSpace(S,1,1)
 sage: MS([t])
 [1]
 }}}

 (The reason is the following: Sage makes a confusion between `t` and its
 list of coefficients and hence do as there was written `MS([[1]])`.)

 The attached patch fixes this. I hope that it breaks nothing else.

--
Ticket URL: <http://trac.sagemath.org/ticket/15110>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to