Skip to content

Commit a27df6a

Browse files
committed
add generic fallback for _show
1 parent b21ac80 commit a27df6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/show.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ end
77

88
# show
99
Base.show(io::IO, A::LinearMap) = (summary(io, A); _show(io, A))
10+
_show(io::IO, ::LinearMap) = nothing
1011
function _show(io::IO, A::FunctionMap{T,F,Nothing}) where {T,F}
1112
print(io, "($(A.f); ismutating=$(A._ismutating), issymmetric=$(A._issymmetric), ishermitian=$(A._ishermitian), isposdef=$(A._isposdef))")
1213
end

0 commit comments

Comments
 (0)