abergeron/Theano — comment on commit 0d89c1f6aaa28e579309cfe355c0eef60b406309
File: theano/sandbox/linalg/tests/test_linalg.py line 129
By nouiz:

I just saw that the op ExtractDiag work only on square matrix. The problem is that the infer_shape optimization hide the error when the matrix is not square. I will make a pull requets that make the infer_shape assert the shape.