Theano/Theano — pull request #995 by pascanur (2012-10-03 19:33:09+00:00)
Title: Fix grad scan dtype

This should fix error reported by Olivier.

We look at the gradient now to infer the dtype (as opposed to the input)