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 a2f2bc0 commit a2922cfCopy full SHA for a2922cf
src/conversion.jl
@@ -167,4 +167,4 @@ function SparseArrays.sparse(L::KroneckerSumMap)
167
end
168
169
# FillMap
170
-Base.Matrix(A::FillMap) = fill(A.λ, size(A))
+Base.Matrix{T}(A::FillMap) where {T} = fill(T(A.λ), size(A))
0 commit comments