Skip to content

Commit 1724f80

Browse files
committed
Missing println
1 parent 29b45a5 commit 1724f80

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

NDTensors/src/dense/densetensor.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,5 +319,7 @@ end
319319

320320
function Base.show(io::IO, mime::MIME"text/plain", T::DenseTensor)
321321
summary(io, T)
322-
return print_tensor(io, T)
322+
print_tensor(io, T)
323+
println(io)
324+
return nothing
323325
end

NDTensors/src/diag/diagtensor.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,5 +217,6 @@ end
217217
function Base.show(io::IO, mime::MIME"text/plain", T::DiagTensor)
218218
summary(io, T)
219219
print_tensor(io, T)
220+
println(io)
220221
return nothing
221222
end

0 commit comments

Comments
 (0)