Skip to content

Commit 18dd4ee

Browse files
committed
avoid function call in show
1 parent 992f5c2 commit 18dd4ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tensors/abstracttensor.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ function Base.show(io::IO, ::MIME"text/plain", t::AbstractTensorMap)
656656
# 3) [optional]: show data
657657
get(io, :compact, true) && return nothing
658658
ioc = IOContext(io, :typeinfo => sectortype(t))
659-
println(io, "\n\n blocks(t):")
659+
println(io, "\n\n blocks: ")
660660
show_blocks(io, MIME"text/plain"(), blocks(t))
661661
return nothing
662662
end

0 commit comments

Comments
 (0)