Stop type treason with show of the TrackedArray type

This commit is contained in:
Eric Davies 2018-11-02 16:00:58 -05:00
parent c71c610747
commit 6b0b51e390

View File

@ -33,9 +33,6 @@ TrackedArray(x::AbstractArray) = TrackedArray(Call(), x, zero(x))
Base.eltype(x::Type{<:TrackedArray{T}}) where T <: Real = TrackedReal{T}
Base.show(io::IO, ::Type{TrackedArray{T,N,A}}) where {T,N,A<:AbstractArray{T,N}} =
print(io, "TrackedArray{…,$A}")
function Base.summary(io::IO, x::TrackedArray)
print(io, "Tracked ")
summary(io, data(x))