On 7/23/10 11:35 AM, VictorMiller wrote:
There's a bug in assigning 1 x 1 submatrices. assigning any
submatrices with dimensions bigger than 1 seems to work as expected:
sage: A = matrix(GF(2),100,100)
sage: C1 = matrix(GF(2),[[1]])
sage: C2 = matrix(GF(2),[[0,1],[1,0]])
sage: A[88:90,88:90] = C2 # this is ok however
sage: A[90:91,90:91] = C1
Off the top of my head, my guess is that it gets confused and thinks you
are doing:
A[90,90]=C1
(and so it tries to convert C1 to an element of A, or something).
Definitely looks like a bug.
Thanks,
Jason
--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org