Remove the restriction on indexing a broadcastable dimension.

I don't know why it was put there, but the code works fine without it.
Anyway, that version was when that fonctionality wasn't documented. So lets
forget that old stuff.


On Mon, Aug 18, 2014 at 9:48 AM, abergeron <notifications@github.com> wrote:

> In theano/tensor/subtensor.py:
>
> > @@ -1565,14 +1567,7 @@ def grad(self, inputs, grads):
> >          x, ilist = inputs
> >          gz, = grads
> >          assert len(inputs) == 2
> > -        sparse = False
> > -        if getattr(x.type, 'sparse_grad', False):
>
> That could be tricky still. If you really want to go this way, you have to
> check the input and output for that since it was usually set on the output
> with the understanding that it applies to the input (which of course would
> share the type object ...).
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Theano/Theano/pull/2029/files#r16353510>.
>