I pushed a fix.


On Mon, Apr 7, 2014 at 10:05 AM, abergeron <notifications@github.com> wrote:

> In theano/tensor/tests/test_opt.py:
>
> > @@ -1207,6 +1207,36 @@ def test_fusion_35inputs(self):
> >          # Test it on some dummy values
> >          f(*[range(i, 4 + i) for i in range(35)])
> >
> > +    def test_pickle_big_fusion(self):
> > +        """In the past, pickle of Composite generated in tha case
> > +        crashed with max recusion limit. So we where not able to
> > +        generate C code in that case.
> > +
> > +        """
> > +        factors = []
> > +        sd = tensor.dscalar()
> > +        means = tensor.dvector()
> > +
> > +        cst_05 = theano.tensor.constant(.5)
> > +        cst_m05 = theano.tensor.constant(2)
>
> From what I see this should be -0.5
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/Theano/Theano/pull/1794/files#r11344437>
> .
>