Skip to content

Commit

Permalink
Update mul.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
putianyi889 committed Jul 26, 2023
1 parent e22fdc5 commit dbeb413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mul.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ end
function _getindex(::Type{Tuple{AA,BB}}, M::Mul{SA,SB}, (k, j)::Tuple{AA,BB}) where {AA,BB,SA,SB}
A,B = M.A,M.B
I = rowsupport(A,k) colsupport(B,j)
maybeview(A,k,I)'*maybeview(B,I,j)
transpose(maybeview(A,k,I))*maybeview(B,I,j)
end

maybeview(A::AbstractArray, k...) = maybeview_layout(MemoryLayout(A), k...)
Expand Down

0 comments on commit dbeb413

Please sign in to comment.