diff options
author | 2010-10-25 10:15:22 -0400 | |
---|---|---|
committer | 2010-10-25 10:15:22 -0400 | |
commit | 4716040703be1ee906439385d20475dcddad5ce3 (patch) | |
tree | 8efd3cf3007d8360e66f38e2d280127cbb70daa6 /unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h | |
parent | ca85a1f6c5fc33ac382aa2d7ba2da63d55d3223e (diff) |
bug #86 : use internal:: namespace instead of ei_ prefix
Diffstat (limited to 'unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h')
-rw-r--r-- | unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h index 006371474..ae937acda 100644 --- a/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h +++ b/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h @@ -128,11 +128,11 @@ class MatrixExponential { */ void computeUV(float); - typedef typename ei_traits<MatrixType>::Scalar Scalar; + typedef typename internal::traits<MatrixType>::Scalar Scalar; typedef typename NumTraits<Scalar>::Real RealScalar; /** \brief Reference to matrix whose exponential is to be computed. */ - typename ei_nested<MatrixType>::type m_M; + typename internal::nested<MatrixType>::type m_M; /** \brief Even-degree terms in numerator of Padé approximant. */ MatrixType m_U; @@ -327,16 +327,18 @@ template<typename Derived> struct MatrixExponentialReturnValue MatrixExponentialReturnValue& operator=(const MatrixExponentialReturnValue&); }; +namespace internal { template<typename Derived> -struct ei_traits<MatrixExponentialReturnValue<Derived> > +struct traits<MatrixExponentialReturnValue<Derived> > { typedef typename Derived::PlainObject ReturnType; }; +} template <typename Derived> const MatrixExponentialReturnValue<Derived> MatrixBase<Derived>::exp() const { - ei_assert(rows() == cols()); + eigen_assert(rows() == cols()); return MatrixExponentialReturnValue<Derived>(derived()); } |