Theano/Theano — pull request #1537 by lamblin (2013-09-26 22:45:07+00:00)
Title: Do not return None in scalar op's grad, add tests

This should solve gh-1512.