Example code from tutorial page
http://deeplearning.net/software/theano/tutorial/examples.html fails with
conversion error, this change fix the problem.
Merge pull request #1488 from flashus/master

FIX: Example code from tutorial page fails with conversion error