incompatibility? between matrix and invert/invert_by_lu



Is the following intended behaviour?

Andre

-----------------------------------------------------
~$ maxima -b matrixbug.max 
Maxima 5.17.1 http://maxima.sourceforge.net
Using Lisp SBCL 1.0.18.debian
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1)                        batch(matrixbug.max)

batching /home/user/matrixbug.max
(%i2)                          display2d : false
(%o2) false
(%i3) rows:[[1,0],[0,1]]
(%o3) [[1,0],[0,1]]
(%i4) A:matrix(rows)
(%o4) matrix([[1,0],[0,1]])
(%i5) invert(A)
incompatible dimensions - cannot multiply
 -- an error.  To debug this try debugmode(true);