Closed
Description
I encountered this when solving a linear system of equations using LAPACK. Functions like Base.LinAlg.LAPACK.potrs!
evaluate stride(B,2)
where B
is the right hand side. If B
is, say, an Array{Float64,1}, this evaluates to
length(B)but if
Bis a
SubArray{Float64,1}it throws a
BoundsError`.
I feel the best thing to do is to change the stride
method for SubArray
to match the behavior of that for Array
but I guess we could instead change the logic in the LAPACK functions.
Metadata
Metadata
Assignees
Labels
No labels