aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Map.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Core/Map.h')
-rw-r--r--Eigen/src/Core/Map.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Eigen/src/Core/Map.h b/Eigen/src/Core/Map.h
index de93ce30b..18fafdece 100644
--- a/Eigen/src/Core/Map.h
+++ b/Eigen/src/Core/Map.h
@@ -58,11 +58,13 @@ struct ei_traits<Map<MatrixType, Options> > : public ei_traits<MatrixType>
};
template<typename MatrixType, int Options> class Map
- : public MapBase<Map<MatrixType, Options> >
+ : public MapBase<Map<MatrixType, Options>,
+ typename MatrixType::template MakeBase< Map<MatrixType, Options> >::Type>
{
public:
- _EIGEN_GENERIC_PUBLIC_INTERFACE(Map, MapBase<Map>)
+ typedef MapBase<Map,typename MatrixType::template MakeBase<Map>::Type> Base;
+ _EIGEN_GENERIC_PUBLIC_INTERFACE(Map)
inline int stride() const { return this->innerSize(); }