Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
svchb committed Jan 13, 2023
1 parent 0f5b4e2 commit b2e987d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/semidiscretization/semidiscretization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit b2e987d

Please sign in to comment.