1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Thu, 28 Nov 2024 17:26:23 +0100
Subject: Fix libfmt 10 compat
---
cpp/open3d/core/Tensor.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpp/open3d/core/Tensor.cpp b/cpp/open3d/core/Tensor.cpp
index 1fff67c..75900f0 100644
--- a/cpp/open3d/core/Tensor.cpp
+++ b/cpp/open3d/core/Tensor.cpp
@@ -1788,7 +1788,7 @@ Tensor Tensor::FromDLPack(const DLManagedTensor* src) {
break;
default:
utility::LogError("Unsupported device_type {}",
- src->dl_tensor.ctx.device_type);
+ int(src->dl_tensor.ctx.device_type));
}
Dtype dtype = DLDataTypeToDtype(src->dl_tensor.dtype);
|