diff --git a/src/nalgebra.rs b/src/nalgebra.rs index 67c4580..2b66ced 100644 --- a/src/nalgebra.rs +++ b/src/nalgebra.rs @@ -10,7 +10,13 @@ use crate::interpolate::{ macro_rules! impl_interpolate_vector { ($($t:tt)*) => { // implement Linear - impl Linear for $($t)* where T: Scalar + ClosedAdd + ClosedSub + ClosedMul + ClosedDiv { + impl Linear for $($t)* + where T: Scalar + + Copy + + ClosedAdd + + ClosedSub + + ClosedMul + + ClosedDiv { #[inline(always)] fn outer_mul(self, t: T) -> Self { self * t