fixed.


On Fri, Sep 6, 2013 at 1:53 PM, Pascal Lamblin <notifications@github.com>wrote:

> In theano/tests/test_tutorial.py:
>
> > @@ -604,10 +604,11 @@ def test_examples_8(self):
> >          assert state.get_value()       == array(0)
> >
> >          fn_of_state = state * 2 + inc
> > -        foo = T.lscalar()    # the type (lscalar) must match the shared variable we
> > -                            # are replacing with the ``givens`` list
> > +        # The type of foo must match the shared variable we are replacing
> > +        # with the ``givens``
> > +        foo = T.scalar(dtype=state.dtype)
>
> Now, we can change back l. 588 to match the one in the doc: state =
> shared(0)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Theano/Theano/pull/1521/files#r6214558>
> .
>