diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-06-28 21:27:37 +0200 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-06-28 21:27:37 +0200 |
commit | 6809f7b1cdb3da897b996b72bb7f3c9dd4c26921 (patch) | |
tree | 390185a19c0d4aee90a9eb055897a69381c94962 /Eigen/src/Geometry/Scaling.h | |
parent | fc9000f23ed5d9c902e2153a5008d9a24adf930c (diff) |
new implementation of diagonal matrices and diagonal matrix expressions
Diffstat (limited to 'Eigen/src/Geometry/Scaling.h')
-rw-r--r-- | Eigen/src/Geometry/Scaling.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Geometry/Scaling.h b/Eigen/src/Geometry/Scaling.h index 785a5f40c..ce191b5da 100644 --- a/Eigen/src/Geometry/Scaling.h +++ b/Eigen/src/Geometry/Scaling.h @@ -141,7 +141,7 @@ static inline DiagonalMatrix<Scalar,3> Scaling(Scalar sx, Scalar sy, Scalar sz) * This is an alias for coeffs.asDiagonal() */ template<typename Derived> -static inline const DiagonalMatrixWrapper<Derived> Scaling(const MatrixBase<Derived>& coeffs) +static inline const DiagonalWrapper<Derived> Scaling(const MatrixBase<Derived>& coeffs) { return coeffs.asDiagonal(); } /** \addtogroup Geometry_Module */ |