summaryrefslogtreecommitdiff
path: root/candle-core/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'candle-core/src/error.rs')
-rw-r--r--candle-core/src/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-core/src/error.rs b/candle-core/src/error.rs
index d8f3b4b4..caad3e1f 100644
--- a/candle-core/src/error.rs
+++ b/candle-core/src/error.rs
@@ -100,7 +100,7 @@ pub enum Error {
},
#[error(transparent)]
- Cuda(#[from] crate::CudaError),
+ Cuda(Box<dyn std::error::Error + Send + Sync>),
#[error(transparent)]
TryFromIntError(#[from] core::num::TryFromIntError),