diff options
Diffstat (limited to 'candle-core/src/op.rs')
-rw-r--r-- | candle-core/src/op.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-core/src/op.rs b/candle-core/src/op.rs index 83b382cd..525383b2 100644 --- a/candle-core/src/op.rs +++ b/candle-core/src/op.rs @@ -103,7 +103,7 @@ pub enum Op { } /// Unary ops that can be defined in user-land. -pub trait CustomOp1 { +pub trait CustomOp1: Send + Sync { // Box<dyn> does not support const yet, so use a function to get the name. fn name(&self) -> &'static str; |