-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
This is not correct:
NDimensionalSparseArrays.jl/src/ndsparsearray.jl
Lines 370 to 376 in 6fde3dc
# Base show method (without MIME) - delegates to text/plain | |
function Base.show(io::IO, A::NDSparseArray{T, N}) where {T, N} | |
return show(io, MIME"text/plain"(), A) | |
end | |
# Improved display with better formatting | |
function Base.show(io::IO, ::MIME"text/plain", A::NDSparseArray{T, N}) where {T, N} |
As the doc string says:
The representation used by
show
generally includes Julia-specific formatting and type information, and should be parseable Julia code when possible.[...]
For a more verbose human-readable text output for objects of type
T
, defineshow(io::IO, ::MIME"text/plain", ::T)
in addition.
Metadata
Metadata
Assignees
Labels
No labels