nouiz/Theano — comment on commit cbf387b70df35e36b28b5e5f4017b6e5e293f808
File: theano/tensor/basic.py line 1926
By delallea:

If it's a scalar then you should have node.inputs[0].ndim == 0, no?