From fd3131a4ce63178b60d760996afb74cba859faa9 Mon Sep 17 00:00:00 2001 From: Laurent Mazare Date: Mon, 28 Aug 2023 22:51:39 +0100 Subject: [PATCH] Fix the debug implementation. (#648) --- candle-core/src/display.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/candle-core/src/display.rs b/candle-core/src/display.rs index 8390a4a0..b497699b 100644 --- a/candle-core/src/display.rs +++ b/candle-core/src/display.rs @@ -43,7 +43,7 @@ impl Tensor { } } } - write!(f, "; {} ,{}]", self.dtype().as_str(), device_str) + write!(f, "; {}{}]", self.dtype().as_str(), device_str) } }