We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 279ec5c commit 0dc9413Copy full SHA for 0dc9413
Project.toml
@@ -1,7 +1,7 @@
1
name = "ArrayLayouts"
2
uuid = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
3
authors = ["Sheehan Olver <[email protected]>"]
4
-version = "0.8.1"
+version = "0.8.2"
5
6
[deps]
7
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
src/mul.jl
@@ -297,8 +297,8 @@ LinearAlgebra.dot(x::AbstractVector, A::Symmetric{<:Real,<:LayoutMatrix}, y::Abs
297
# allow overloading for infinite or lazy case
298
@inline _power_by_squaring(_, _, A, p) = Base.invoke(Base.power_by_squaring, Tuple{AbstractMatrix,Integer}, A, p)
299
# TODO: Remove unnecessary _apply
300
-_apply(_, _, op, Λ::UniformScaling, A::AbstractMatrix) = op(Diagonal(Fill(Λ.λ,size(A,1))), A)
301
-_apply(_, _, op, A::AbstractMatrix, Λ::UniformScaling) = op(A, Diagonal(Fill(Λ.λ,size(A,1))))
+_apply(_, _, op, Λ::UniformScaling, A::AbstractMatrix) = op(Diagonal(Fill(Λ.λ,(axes(A,1),))), A)
+_apply(_, _, op, A::AbstractMatrix, Λ::UniformScaling) = op(A, Diagonal(Fill(Λ.λ,(axes(A,1),))))
302
303
for Typ in (:LayoutMatrix, :(Symmetric{<:Any,<:LayoutMatrix}), :(Hermitian{<:Any,<:LayoutMatrix}),
304
:(Adjoint{<:Any,<:LayoutMatrix}), :(Transpose{<:Any,<:LayoutMatrix}))
0 commit comments