Qualify the output of FloatVec Neg
This commit is contained in:
parent
f0ce528903
commit
83917cb4a4
|
@ -214,7 +214,7 @@ pub trait NumVec<N>: Dim +
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Trait of vector with components implementing the `BaseFloat` trait.
|
/// Trait of vector with components implementing the `BaseFloat` trait.
|
||||||
pub trait FloatVec<N: BaseFloat>: NumVec<N> + Norm<N> + Basis {
|
pub trait FloatVec<N: BaseFloat>: NumVec<N> + Norm<N> + Neg<Output = Self> + Basis {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue