Skip to content

Commit 638d09d

Browse files
committed
Use Send + Sync in LinalgScalar
1 parent 29ef75e commit 638d09d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/linalg_traits.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use ScalarOperand;
2424
/// semantics or destructors, and the rest are numerical traits.
2525
pub trait LinalgScalar :
2626
Any +
27-
Copy +
27+
Copy + Send + Sync +
2828
Zero + One +
2929
Add<Output=Self> +
3030
Sub<Output=Self> +
@@ -35,7 +35,7 @@ pub trait LinalgScalar :
3535
impl<T> LinalgScalar for T
3636
where T:
3737
Any +
38-
Copy +
38+
Copy + Send + Sync +
3939
Zero + One +
4040
Add<Output=T> +
4141
Sub<Output=T> +

0 commit comments

Comments
 (0)