Get rid of class internal::nested<> (still have to updated Tensor module)

This commit is contained in:
Gael Guennebaud
2015-06-19 17:56:39 +02:00
parent 386d9e5ebd
commit 846b227bb7
25 changed files with 33 additions and 39 deletions

View File

@@ -400,7 +400,7 @@ template<typename Derived> struct MatrixExponentialReturnValue
Index cols() const { return m_src.cols(); }
protected:
const typename internal::nested<Derived>::type m_src;
const typename internal::ref_selector<Derived>::type m_src;
};
namespace internal {

View File

@@ -485,7 +485,7 @@ template<typename Derived> class MatrixFunctionReturnValue
typedef typename internal::stem_function<Scalar>::type StemFunction;
protected:
typedef typename internal::nested<Derived>::type DerivedNested;
typedef typename internal::ref_selector<Derived>::type DerivedNested;
public:

View File

@@ -315,7 +315,7 @@ public:
typedef typename Derived::Index Index;
protected:
typedef typename internal::nested<Derived>::type DerivedNested;
typedef typename internal::ref_selector<Derived>::type DerivedNested;
public:

View File

@@ -320,7 +320,7 @@ template<typename Derived> class MatrixSquareRootReturnValue
{
protected:
typedef typename Derived::Index Index;
typedef typename internal::nested<Derived>::type DerivedNested;
typedef typename internal::ref_selector<Derived>::type DerivedNested;
public:
/** \brief Constructor.