diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-04-24 09:44:24 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-04-24 09:44:24 +0200 |
commit | 40258078c6a04dd5d1d0ed3e51c21c9084bb512f (patch) | |
tree | df544fdc40288cc5a87d2a299a1e663f8748e7de /Eigen/src/Core/PlainObjectBase.h | |
parent | c460af414e696c4c0647b7b402d240939b91e55e (diff) |
bug #360: add value_type typedef to DenseBase/SparseMatrixBase
Diffstat (limited to 'Eigen/src/Core/PlainObjectBase.h')
-rw-r--r-- | Eigen/src/Core/PlainObjectBase.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/Core/PlainObjectBase.h b/Eigen/src/Core/PlainObjectBase.h index d331b84ad..1a4a743b4 100644 --- a/Eigen/src/Core/PlainObjectBase.h +++ b/Eigen/src/Core/PlainObjectBase.h @@ -96,6 +96,7 @@ class PlainObjectBase : public internal::dense_xpr_base<Derived>::type typedef typename internal::traits<Derived>::StorageKind StorageKind; typedef typename internal::traits<Derived>::Scalar Scalar; + typedef typename internal::packet_traits<Scalar>::type PacketScalar; typedef typename NumTraits<Scalar>::Real RealScalar; typedef Derived DenseType; |