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;