A = sprand(10,10, 0.5)
b = rand(10)
copy_b = copy(b)
ft = klu(A[1:8, 1:8]);
KLU.solve!(ft, @view b[1:8]);
The above code works. If b is a 2d vector or even whole view @view b[:,:] is used, it also works fine. However, if @view b[indexes, indexes] is passed, the following error will occur:

The above code works. If b is a 2d vector or even whole view

@view b[:,:]is used, it also works fine. However, if@view b[indexes, indexes]is passed, the following error will occur: