diff options
author | 2010-06-03 08:41:11 +0200 | |
---|---|---|
committer | 2010-06-03 08:41:11 +0200 | |
commit | 8350ab9fb85d278cf2687efc86d211b25741c657 (patch) | |
tree | 495359fc672163d7bdd0e294cb0d12a0e2b2d233 /Eigen/src/Core/MapBase.h | |
parent | 38d8352b7bc6c839297aee11a91e64aff4d51aff (diff) |
* remove ei_index, and let ei_traits propagate the index types
* add an Index type template parapeter to sparse objects
Diffstat (limited to 'Eigen/src/Core/MapBase.h')
-rw-r--r-- | Eigen/src/Core/MapBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/MapBase.h b/Eigen/src/Core/MapBase.h index 8cdd452ac..e0b3a7857 100644 --- a/Eigen/src/Core/MapBase.h +++ b/Eigen/src/Core/MapBase.h @@ -46,7 +46,7 @@ template<typename Derived> class MapBase typedef typename ei_traits<Derived>::StorageKind StorageKind; - typedef typename ei_index<StorageKind>::type Index; + typedef typename ei_traits<Derived>::Index Index; typedef typename ei_traits<Derived>::Scalar Scalar; typedef typename ei_packet_traits<Scalar>::type PacketScalar; typedef typename NumTraits<Scalar>::Real RealScalar; |