Skip to content

Commit 120d803

Browse files
committed
pass io to summary
1 parent bf99414 commit 120d803

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/show.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ function _summary(io, x)
1212
hasnames(x) && printstyled(io, dimnames(x,d), "", color=c)
1313
printstyled(io, length(axiskeys(x,d)), "-element ", shorttype(axiskeys(x,d)), "\n", color=c)
1414
end
15-
print(io, "And data, ", summary(keyless(unname(x))))
15+
print(io, "And data, ")
16+
summary(io, keyless(unname(x)))
1617
if ndims(x)==1 && length(keys_or_axes(x, 1)) != length(x)
1718
throw(ArgumentError("length of keys, $(length(keys_or_axes(x, 1))), must match length of vector, $(length(x))! "))
1819
end

0 commit comments

Comments
 (0)