Qualify the output of FloatVec Neg

This commit is contained in:
Tinco Andringa 2015-05-08 21:44:03 +02:00
parent f0ce528903
commit 83917cb4a4

View File

@ -214,7 +214,7 @@ pub trait NumVec<N>: Dim +
}
/// 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 {
}
/*