Skip to content

Commit ef68e4d

Browse files
committed
make ldiv lu more specific
1 parent d5b876a commit ef68e4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mps/linalg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ function LinearAlgebra.transpose!(B::MtlMatrix{T}, A::MtlMatrix{T}) where {T}
196196
end
197197

198198

199-
function LinearAlgebra.ldiv!(A::LU{T, <:MtlMatrix{T}, <:MtlVector{UInt32}}, B::MtlVecOrMat{T}) where {T}
199+
function LinearAlgebra.ldiv!(A::LU{T, <:MtlMatrix{T}, <:MtlVector{UInt32}}, B::MtlVecOrMat{T}) where {T<:MtlFloat}
200200
orig = size(B)
201201
M,N = size(B)[1], ndims(B) > 1 ? size(B)[2] : 1
202202
dev = current_device()

0 commit comments

Comments
 (0)