From 3562fdedbe7ec73d5b7b0805e691b5035cc2b5dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Thu, 26 Dec 2019 22:16:02 +0100 Subject: [PATCH] Array -> AbstractArray --- src/dispatch.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dispatch.jl b/src/dispatch.jl index 134a933..c11b61b 100644 --- a/src/dispatch.jl +++ b/src/dispatch.jl @@ -211,10 +211,10 @@ function Base.:-(A::LinearAlgebra.Hermitian{<:AbstractMutable}) return LinearAlgebra.Hermitian(-parent(A), LinearAlgebra.sym_uplo(A.uplo)) end -function Base.:*(α::AbstractMutable, A::Array) +function Base.:*(α::AbstractMutable, A::AbstractArray) return α .* A end -function Base.:*(A::Array, α::AbstractMutable) +function Base.:*(A::AbstractArray, α::AbstractMutable) return A .* α end