jaberg/Theano — comment on commit e253e709eadf77414c93c89f5f317f9446628f32
File: theano/tensor/basic.py line 560
By jaberg:

Actually - I suggest adding the type num to the error statement here, otherwise it can be confusing if only the .num didn't match.