--- a/src/nalgebra_support.rs Mon May 12 16:28:50 2025 -0500 +++ b/src/nalgebra_support.rs Mon May 12 17:10:39 2025 -0500 @@ -215,15 +215,13 @@ // TODO: should allow different input storages in `Euclidean`. -impl<E, M, S> Euclidean<E> for Vector<E, M, S> +impl<E, M, S> Euclidean for Vector<E, M, S> where M: Dim, S: StorageMut<E, M> + Clone, E: Float + Scalar + Zero + One + RealField, DefaultAllocator: Allocator<M>, { - type Output = OVector<E, M>; - #[inline] fn dot<I: Instance<Self>>(&self, other: I) -> E { Vector::<E, M, S>::dot(self, other.ref_instance()) @@ -240,7 +238,7 @@ } } -impl<E, M, S> StaticEuclidean<E> for Vector<E, M, S> +impl<E, M, S> StaticEuclidean for Vector<E, M, S> where M: DimName, S: StorageMut<E, M> + Clone,