From b2e987d3f997c487fc94f76ffe68819a0be978ce Mon Sep 17 00:00:00 2001 From: Sven Berger Date: Fri, 13 Jan 2023 23:56:36 +0100 Subject: [PATCH] add comment --- src/semidiscretization/semidiscretization.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/semidiscretization/semidiscretization.jl b/src/semidiscretization/semidiscretization.jl index 22d82d790..0adf02018 100644 --- a/src/semidiscretization/semidiscretization.jl +++ b/src/semidiscretization/semidiscretization.jl @@ -34,6 +34,7 @@ struct Semidiscretization{PC, R, NS, DC} end +# Inline show function e.g. Semidiscretization(neighborhood_search=...) function Base.show(io::IO, semi::Semidiscretization) @nospecialize semi # reduce precompilation time @@ -46,6 +47,7 @@ function Base.show(io::IO, semi::Semidiscretization) print(io, ")") end +# Show used during summary printout function Base.show(io::IO, ::MIME"text/plain", semi::Semidiscretization) @nospecialize semi # reduce precompilation time