fix Copy trait bound with nalgebra 0.20
This commit is contained in:
parent
c93109e28b
commit
036d7df3eb
@ -10,7 +10,13 @@ use crate::interpolate::{
|
||||
macro_rules! impl_interpolate_vector {
|
||||
($($t:tt)*) => {
|
||||
// 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)]
|
||||
fn outer_mul(self, t: T) -> Self {
|
||||
self * t
|
||||
|
Loading…
Reference in New Issue
Block a user