diff options
author | 2012-09-14 09:54:56 +0200 | |
---|---|---|
committer | 2012-09-14 09:54:56 +0200 | |
commit | 48c4d48aec7b8aac992aabe265e7153e8a36c0bd (patch) | |
tree | c36f3a5de2eb8e021543f17998f02a4217b1a32b /Eigen | |
parent | 0c584dcf4d840effa622045b91486dbed0777213 (diff) |
workaround weird compilation error with MSVC
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Core/MatrixBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index c00c1488c..31ebde8ab 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -237,7 +237,7 @@ template<typename Derived> class MatrixBase // huuuge hack. make Eigen2's matrix.part<Diagonal>() work in eigen3. Problem: Diagonal is now a class template instead // of an integer constant. Solution: overload the part() method template wrt template parameters list. - template<template<typename T, int n> class U> + template<template<typename T, int N> class U> const DiagonalWrapper<ConstDiagonalReturnType> part() const { return diagonal().asDiagonal(); } #endif // EIGEN2_SUPPORT |