This is probably easy to fix, but I don't know how: sage: id = identity_matrix(GF(2), 1) sage: id.augment(id) # works [1 1] sage: id.augment(id.sparse_matrix()) # doesn't --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-3-b29f21cac27f> in <module>() ----> 1 id.augment(id.sparse_matrix())
/Users/palmieri/Desktop/Sage_stuff/git/sage/src/sage/matrix/matrix_mod2_dense.pyx in sage.matrix.matrix_mod2_dense.Matrix_mod2_dense.augment (build/cythonized/sage/matrix/matrix_mod2_dense.c:11113)() 1576 right = right.column() 1577 -> 1578 cdef Matrix_mod2_dense other = right 1579 1580 if self._nrows != other._nrows: TypeError: Cannot convert sage.matrix.matrix_modn_sparse.Matrix_modn_sparse to sage.matrix.matrix_mod2_dense.Matrix_mod2_dense See http://trac.sagemath.org/ticket/19165 -- John -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.