From ba5bc772625a3a84889198c0149546f3faf1a188 Mon Sep 17 00:00:00 2001 From: Simon Heath Date: Fri, 8 Jun 2018 18:07:25 -0400 Subject: [PATCH] Removes DefaultAllocatorBound from mint::Point conversions --- src/geometry/point_conversion.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/geometry/point_conversion.rs b/src/geometry/point_conversion.rs index 5f21063b..8284e275 100644 --- a/src/geometry/point_conversion.rs +++ b/src/geometry/point_conversion.rs @@ -83,8 +83,7 @@ where macro_rules! impl_from_into_mint_1D( ($($NRows: ident => $PT:ident, $VT:ident [$SZ: expr]);* $(;)*) => {$( impl From> for Point - where N: Scalar, - DefaultAllocator: Allocator { + where N: Scalar { #[inline] fn from(p: mint::$PT) -> Self { Self {