Skip to content

Commit d1e1c73

Browse files
committed
add conversion
1 parent f517150 commit d1e1c73

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/conversion.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,6 @@ function SparseArrays.sparse(L::KroneckerSumMap)
165165
IB = sparse(Diagonal(ones(Bool, size(B, 1))))
166166
return kron(convert(AbstractMatrix, A), IB) + kron(IA, convert(AbstractMatrix, B))
167167
end
168+
169+
# FillMap
170+
Base.Matrix(A::FillMap) = fill(A.λ, size(A))

0 commit comments

Comments
 (0)