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;