-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mul!(::Matrix, ::ArrayPartition, ::Adjoint(ArrayPartition))
#186
Comments
it would be good to define a function Base.checkbounds(A::ArrayPartition, i, j...)
@boundscheck checkbounds(A.x, i)
b = A.x[i]
@boundscheck checkbounds(b, j)
end though that still doesn't solve my problem |
No, it's a vector not a matrix so the indexing |
i understand that ArrayPartitions are vectors and however in https://github.com/JuliaLang/julia/blob/master/stdlib/LinearAlgebra/src/transpose.jl#L181-L203,
IDK how to avoid this behaviour |
I think |
JuliaNLSolvers/Optim.jl#972
MWE
in LinearAlgebra/transpose.jl,
v
is being treated as anAbstractVecOrMat
and is being accessed as followsv[3,1]
The text was updated successfully, but these errors were encountered: