Skip to content

Commit 611ada9

Browse files
committed
add conversion
1 parent 90c600d commit 611ada9

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
@@ -171,3 +171,6 @@ function SparseArrays.sparse(L::KroneckerSumMap)
171171
IB = sparse(Diagonal(ones(Bool, size(B, 1))))
172172
return kron(convert(AbstractMatrix, A), IB) + kron(IA, convert(AbstractMatrix, B))
173173
end
174+
175+
# FillMap
176+
Base.Matrix(A::FillMap) = fill(A.λ, size(A))

0 commit comments

Comments
 (0)