nouiz/Theano — comment on commit 93a4f8e959417132a3acb2e1103b06614913c65e
File: theano/tensor/opt.py line 931
By nouiz:

This was the bugfix that triggered many tests to fail. This was triggered by your short circuiting of update_shape: if other_shape is None, you just return. In the past, update_shape was initializing r(new_r). As it don't now, we needed this fix. Just try this test in pylearn2(it is fast to trigger the bug witout my fix):

nosetests -s --pdb --pdb-failure pylearn2/optimization/test_linear_cg.py