From cc3561096673ffddc44ac3be9ae96bdf5ef03aa2 Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Thu, 12 Oct 2023 15:51:52 +0200 Subject: [PATCH] Update src/implementations/LinearAlgebra.jl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mathieu Besançon --- src/implementations/LinearAlgebra.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/implementations/LinearAlgebra.jl b/src/implementations/LinearAlgebra.jl index 42a1a570..3553c662 100644 --- a/src/implementations/LinearAlgebra.jl +++ b/src/implementations/LinearAlgebra.jl @@ -158,6 +158,7 @@ end similar_array_type(::Type{Array{T,N}}, ::Type{S}) where {S,T,N} = Array{S,N} similar_array_type(::Type{BitArray{N}}, ::Type{S}) where {S,N} = Array{S,N} +similar_array_type(::Type{BitArray{N}}, ::Type{Bool}) where {N} = BitArray{N} function promote_operation( op::typeof(*),