From 75edc7cc8bcc1bdf5a3defddc2f751062ec49ec1 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Fri, 26 Jul 2013 11:05:21 +0200 Subject: [PATCH] Fixed VC11 compilation. The typedefs Lhs/Rhs in the base class are now accessible by derived classes. --- .../src/KroneckerProduct/KroneckerTensorProduct.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h index 80be9fd7a..0dccdb2bc 100644 --- a/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h +++ b/unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h @@ -26,11 +26,11 @@ class KroneckerProductBase : public ReturnByValue { private: typedef typename internal::traits Traits; - typedef typename Traits::Lhs Lhs; - typedef typename Traits::Rhs Rhs; typedef typename Traits::Scalar Scalar; protected: + typedef typename Traits::Lhs Lhs; + typedef typename Traits::Rhs Rhs; typedef typename Traits::Index Index; public: @@ -79,8 +79,8 @@ class KroneckerProductBase : public ReturnByValue * \tparam Lhs Type of the left-hand side, a matrix expression. * \tparam Rhs Type of the rignt-hand side, a matrix expression. */ -template -class KroneckerProduct : public KroneckerProductBase > +template +class KroneckerProduct : public KroneckerProductBase > { private: typedef KroneckerProductBase Base; @@ -112,8 +112,8 @@ class KroneckerProduct : public KroneckerProductBase > * \tparam Lhs Type of the left-hand side, a matrix expression. * \tparam Rhs Type of the rignt-hand side, a matrix expression. */ -template -class KroneckerProductSparse : public KroneckerProductBase > +template +class KroneckerProductSparse : public KroneckerProductBase > { private: typedef KroneckerProductBase Base;