the Index types change.

As discussed on the list (too long to explain here).
This commit is contained in:
Benoit Jacob
2010-05-30 16:00:58 -04:00
parent faa3ff3be6
commit aaaade4b3d
158 changed files with 3137 additions and 2878 deletions

View File

@@ -296,6 +296,7 @@ void MatrixExponential<MatrixType>::computeUV(double)
template<typename Derived> struct MatrixExponentialReturnValue
: public ReturnByValue<MatrixExponentialReturnValue<Derived> >
{
typedef typename Derived::Index Index;
public:
/** \brief Constructor.
*
@@ -317,8 +318,8 @@ template<typename Derived> struct MatrixExponentialReturnValue
me.compute(result);
}
int rows() const { return m_src.rows(); }
int cols() const { return m_src.cols(); }
Index rows() const { return m_src.rows(); }
Index cols() const { return m_src.cols(); }
protected:
const Derived& m_src;