diff options
author | 2010-07-10 22:37:16 +0200 | |
---|---|---|
committer | 2010-07-10 22:37:16 +0200 | |
commit | c4ef69b5bd46b106d001921867847a741bc6725b (patch) | |
tree | 49a87aec72fc38fd06fc055d35419af18cb53cad /Eigen/src/Core/TriangularMatrix.h | |
parent | 6dcd373b9d518c688b16800d9d0d7a88cb5f3dc2 (diff) |
fix compilation: make the check_coordinates* functions const
Diffstat (limited to 'Eigen/src/Core/TriangularMatrix.h')
-rw-r--r-- | Eigen/src/Core/TriangularMatrix.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Core/TriangularMatrix.h b/Eigen/src/Core/TriangularMatrix.h index c66bbb9fa..e2afa23b0 100644 --- a/Eigen/src/Core/TriangularMatrix.h +++ b/Eigen/src/Core/TriangularMatrix.h @@ -90,7 +90,7 @@ template<typename Derived> class TriangularBase : public EigenBase<Derived> protected: - void check_coordinates(Index row, Index col) + void check_coordinates(Index row, Index col) const { EIGEN_ONLY_USED_FOR_DEBUG(row); EIGEN_ONLY_USED_FOR_DEBUG(col); @@ -102,12 +102,12 @@ template<typename Derived> class TriangularBase : public EigenBase<Derived> } #ifdef EIGEN_INTERNAL_DEBUGGING - void check_coordinates_internal(Index row, Index col) + void check_coordinates_internal(Index row, Index col) const { check_coordinates(row, col); } #else - void check_coordinates_internal(Index , Index ) {} + void check_coordinates_internal(Index , Index ) const {} #endif }; |