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

if the dtype str is the same, the num WILL be the same.
If the dtype str is not the same, most of the time the num is different, but not alway. cint vs int{32,64}.

What I tell is that we should invisibly fix the different str but same num case. This is the same as doing an upcast of the input. To do so, you must change the check on the line 549 and 557 to "data.dtype == self.numpy_dtype".

Is there something I don't understand?