fix Copy trait bound with nalgebra 0.20
This commit is contained in:
		@@ -10,7 +10,13 @@ use crate::interpolate::{
 | 
				
			|||||||
macro_rules! impl_interpolate_vector {
 | 
					macro_rules! impl_interpolate_vector {
 | 
				
			||||||
  ($($t:tt)*) => {
 | 
					  ($($t:tt)*) => {
 | 
				
			||||||
    // implement Linear
 | 
					    // implement Linear
 | 
				
			||||||
    impl<T> Linear<T> for $($t)*<T> where T: Scalar + ClosedAdd + ClosedSub + ClosedMul + ClosedDiv {
 | 
					    impl<T> Linear<T> for $($t)*<T>
 | 
				
			||||||
 | 
					    where T: Scalar +
 | 
				
			||||||
 | 
					             Copy +
 | 
				
			||||||
 | 
					             ClosedAdd +
 | 
				
			||||||
 | 
					             ClosedSub +
 | 
				
			||||||
 | 
					             ClosedMul +
 | 
				
			||||||
 | 
					             ClosedDiv {
 | 
				
			||||||
      #[inline(always)]
 | 
					      #[inline(always)]
 | 
				
			||||||
      fn outer_mul(self, t: T) -> Self {
 | 
					      fn outer_mul(self, t: T) -> Self {
 | 
				
			||||||
        self * t
 | 
					        self * t
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user