From d5758483b5fb0d3f19e7cf889d294774d4d5dc0a Mon Sep 17 00:00:00 2001 From: Adam Kern Date: Sat, 9 Nov 2024 14:59:11 -0500 Subject: [PATCH] Re-adds the Dimension bound to ToOwned --- src/impl_ref_types.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/impl_ref_types.rs b/src/impl_ref_types.rs index 4681b5361..d93a996bf 100644 --- a/src/impl_ref_types.rs +++ b/src/impl_ref_types.rs @@ -322,7 +322,9 @@ where } impl ToOwned for ArrayRef -where A: Clone +where + A: Clone, + D: Dimension, { type Owned = Array;