diff --git a/src/geometry/point.rs b/src/geometry/point.rs index e65bc535..d4d9dbfc 100644 --- a/src/geometry/point.rs +++ b/src/geometry/point.rs @@ -67,7 +67,7 @@ where #[cfg(feature = "bytemuck")] unsafe impl bytemuck::Zeroable for OPoint where - SVector: bytemuck::Zeroable, + OVector: bytemuck::Zeroable, DefaultAllocator: Allocator, { } @@ -76,7 +76,7 @@ where unsafe impl bytemuck::Pod for OPoint where T: Copy, - SVector: bytemuck::Pod, + OVector: bytemuck::Pod, DefaultAllocator: Allocator, { } @@ -85,7 +85,7 @@ where impl Serialize for OPoint where DefaultAllocator: Allocator, - >::Buffer: Serialize + >::Buffer: Serialize, { fn serialize(&self, serializer: S) -> Result where @@ -99,7 +99,7 @@ where impl<'a, T: Scalar + Deserialize<'a>, D: DimName> Deserialize<'a> for OPoint where DefaultAllocator: Allocator, - >::Buffer: Deserialize<'a> + >::Buffer: Deserialize<'a>, { fn deserialize(deserializer: Des) -> Result where @@ -115,7 +115,7 @@ where impl Abomonation for OPoint where T: Scalar, - SVector: Abomonation, + OVector: Abomonation, DefaultAllocator: Allocator, { unsafe fn entomb(&self, writer: &mut W) -> IOResult<()> {