Open DanielVandH opened 2 months ago
Looking at the output for the case that works it's probably just overloading views anyway somewhere in InfiniteArrays or InfiniteLinearAlgebra. You could use Debugger to find where that happens and add a line to that package for appropriate form ApplyLayouts as well.
I don't know what repo this issue should actually belong to, but see:
The
[2:end, 2:end]
slice is trying to evaluating all the entries. Should this work properly? It's handled fine for for e.g.The difference in this case is that, for the latter example,
but for the first example
(And their types are different.) Any idea what the issue is here? I can get around this using
@view
for now but seems like a weird issue that it's not automatically creating the view for this infinite range as I'd expect when not usingb=-1
anywhere.