Attempt to fix MatrixExponential/Function related warnings.

This commit is contained in:
Hauke Heibel
2010-06-20 13:17:57 +02:00
parent aeb12b417d
commit 9a6967d9ba
2 changed files with 6 additions and 6 deletions

View File

@@ -132,7 +132,7 @@ class MatrixExponential {
typedef typename NumTraits<Scalar>::Real RealScalar;
/** \brief Reference to matrix whose exponential is to be computed. */
const MatrixType& m_M;
const typename ei_nested<MatrixType>::type m_M;
/** \brief Even-degree terms in numerator of Pad&eacute; approximant. */
MatrixType m_U;
@@ -313,7 +313,7 @@ template<typename Derived> struct MatrixExponentialReturnValue
template <typename ResultType>
inline void evalTo(ResultType& result) const
{
const typename ei_eval<Derived>::type srcEvaluated = m_src.eval();
const typename Derived::PlainObject srcEvaluated = m_src.eval();
MatrixExponential<typename Derived::PlainObject> me(srcEvaluated);
me.compute(result);
}