Removes DefaultAllocatorBound from mint::Point conversions
This commit is contained in:
parent
491903e1de
commit
ba5bc77262
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue