diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-01-25 21:24:31 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-01-25 21:24:31 -0500 |
commit | 39536d44da5e7c286e601b1ac35d535841ba6284 (patch) | |
tree | eeab0d082060634977c85fcac2a24536d9ad2c77 | |
parent | 1d98cc5e5da88254c784c4f02517bf5a47f007bc (diff) |
fix build
-rw-r--r-- | Eigen/src/Core/MatrixBase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index fbdc059cf..89fecd0f5 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -242,7 +242,7 @@ template<typename Derived> class MatrixBase typename MatrixBase::template DiagonalIndexReturnType<Dynamic>::Type diagonal(Index index); typename MatrixBase::template ConstDiagonalIndexReturnType<Dynamic>::Type diagonal(Index index) const; - //#ifdef EIGEN2_SUPPORT + #ifdef EIGEN2_SUPPORT template<unsigned int Mode> typename internal::eigen2_part_return_type<Derived, Mode>::type part(); template<unsigned int Mode> const typename internal::eigen2_part_return_type<Derived, Mode>::type part() const; @@ -251,7 +251,7 @@ template<typename Derived> class MatrixBase template<template<typename T, int n> class U> const DiagonalWrapper<ConstDiagonalReturnType> part() const { return diagonal().asDiagonal(); } - //#endif // EIGEN2_SUPPORT + #endif // EIGEN2_SUPPORT template<unsigned int Mode> struct TriangularViewReturnType { typedef TriangularView<Derived, Mode> Type; }; template<unsigned int Mode> struct ConstTriangularViewReturnType { typedef const TriangularView<const Derived, Mode> Type; }; |