Theano/Theano — pull request #1804 by nouiz (2014-04-14 20:11:24+00:00)
Title: [BUG Fix scan mem optimization

This fix a wrong result triggered by gh-1794 that happen due to not deterministic optimization.

In fact, I don't understand why this bug happen... But any change to the optimization order fix it and I made it deterministic.