Removes DefaultAllocatorBound from mint::Point conversions

This commit is contained in:
Simon Heath 2018-06-08 18:07:25 -04:00 committed by Sébastien Crozet
parent 491903e1de
commit ba5bc77262
1 changed files with 1 additions and 2 deletions

View File

@ -83,8 +83,7 @@ where
macro_rules! impl_from_into_mint_1D( macro_rules! impl_from_into_mint_1D(
($($NRows: ident => $PT:ident, $VT:ident [$SZ: expr]);* $(;)*) => {$( ($($NRows: ident => $PT:ident, $VT:ident [$SZ: expr]);* $(;)*) => {$(
impl<N> From<mint::$PT<N>> for Point<N, $NRows> impl<N> From<mint::$PT<N>> for Point<N, $NRows>
where N: Scalar, where N: Scalar {
DefaultAllocator: Allocator<N, $NRows> {
#[inline] #[inline]
fn from(p: mint::$PT<N>) -> Self { fn from(p: mint::$PT<N>) -> Self {
Self { Self {