lisa-lab/pylearn2 — pull request #969 by bartvm (2014-06-10 16:04:34+00:00)
Title: Added dtype to CompositeLayer weight decay aggregation

If all coefficients are 0 the result would be a Theano sum of an empty list, which automatically returns `float64`. To prevent this from happening, I explicitly specified the `dtype` as `floatX`.