Skip to content

Commit 530805e

Browse files
authored
Merge pull request #530 from JuliaParallel/jps/darray-show-fix-matrix
DArray: Fix DMatrix show elements
2 parents e8e36b7 + fe802ef commit 530805e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/array/darray.jl

+1
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ function Base.show(io::IO, ::MIME"text/plain", A::DArray{T,N}) where {T,N}
271271
write(io, "$(length(A))-element ")
272272
write(io, string(DVector{T}))
273273
elseif N == 2
274+
write(io, "$(join(size(A), 'x')) ")
274275
write(io, string(DMatrix{T}))
275276
elseif N == 0
276277
write(io, "0-dimensional ")

0 commit comments

Comments
 (0)