aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/src/KroneckerProduct
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2013-07-26 11:05:21 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2013-07-26 11:05:21 +0200
commit75edc7cc8bcc1bdf5a3defddc2f751062ec49ec1 (patch)
treecd8f2531b544cc2de4d67e2e34f0df4fdf41d560 /unsupported/Eigen/src/KroneckerProduct
parent5897695e8a0286d4b37534ad0b7dd6c793674102 (diff)
Fixed VC11 compilation.
The typedefs Lhs/Rhs in the base class are now accessible by derived classes.
Diffstat (limited to 'unsupported/Eigen/src/KroneckerProduct')
-rw-r--r--unsupported/Eigen/src/KroneckerProduct/KroneckerTensorProduct.h12
1 files 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<Derived>
{
private:
typedef typename internal::traits<Derived> 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<Derived>
* \tparam Lhs Type of the left-hand side, a matrix expression.
* \tparam Rhs Type of the rignt-hand side, a matrix expression.
*/
-template<typename Lhs, typename Rhs>
-class KroneckerProduct : public KroneckerProductBase<KroneckerProduct<Lhs,Rhs> >
+template<typename TLhs, typename TRhs>
+class KroneckerProduct : public KroneckerProductBase<KroneckerProduct<TLhs,TRhs> >
{
private:
typedef KroneckerProductBase<KroneckerProduct> Base;
@@ -112,8 +112,8 @@ class KroneckerProduct : public KroneckerProductBase<KroneckerProduct<Lhs,Rhs> >
* \tparam Lhs Type of the left-hand side, a matrix expression.
* \tparam Rhs Type of the rignt-hand side, a matrix expression.
*/
-template<typename Lhs, typename Rhs>
-class KroneckerProductSparse : public KroneckerProductBase<KroneckerProductSparse<Lhs,Rhs> >
+template<typename TLhs, typename TRhs>
+class KroneckerProductSparse : public KroneckerProductBase<KroneckerProductSparse<TLhs,TRhs> >
{
private:
typedef KroneckerProductBase<KroneckerProductSparse> Base;