RFC: Remove redundant Dim trait

Co-Authored-By: grtlr <grtlr@users.noreply.github.com>
This commit is contained in:
Sébastien Crozet 2018-11-20 09:14:35 +01:00
parent 72f61918f4
commit bc9c74cbb6

View File

@ -830,7 +830,7 @@ impl<N: Scalar, D: Dim, S: Storage<N, D, D>> SquareMatrix<N, D, S> {
}
}
impl<N: Scalar + One + Zero, D: Dim + DimAdd<U1> + IsNotStaticOne, S: Storage<N, D, D>> Matrix<N, D, D, S> {
impl<N: Scalar + One + Zero, D: DimAdd<U1> + IsNotStaticOne, S: Storage<N, D, D>> Matrix<N, D, D, S> {
/// Yields the homogeneous matrix for this matrix, i.e., appending an additional dimension and
/// and setting the diagonal element to `1`.