From bd1de76645b37c5dacfb55e14be0cd49b3d14713 Mon Sep 17 00:00:00 2001 From: Saurabh Khanduja Date: Thu, 11 Jan 2024 12:19:48 +0530 Subject: [PATCH] Fix regression introduced in #6444 --- CHANGELOG.md | 1 + cpp/open3d/core/Tensor.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4dadd273cc9..fdeb72295eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ - Rename master branch to main. - Support in memory loading of XYZ files - Fix geometry picker Error when LineSet objects are presented (PR #6499) +- Fix regression in printing cuda tensor from PR #6444 🐛 ## 0.13 diff --git a/cpp/open3d/core/Tensor.cpp b/cpp/open3d/core/Tensor.cpp index d405c501993..7e1014bc800 100644 --- a/cpp/open3d/core/Tensor.cpp +++ b/cpp/open3d/core/Tensor.cpp @@ -750,7 +750,7 @@ std::string Tensor::ToString(bool with_suffix, std::ostringstream rc; if (IsCUDA() || !IsContiguous()) { Tensor host_contiguous_tensor = Contiguous().To(Device("CPU:0")); - rc << host_contiguous_tensor.ToString(with_suffix, indent); + rc << host_contiguous_tensor.ToString(false, indent); } else { if (shape_.NumElements() == 0) { rc << indent;