aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/PermutationMatrix.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2010-06-20 22:27:35 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2010-06-20 22:27:35 +0200
commit52165ba55a5cbd5b036df77ddbbcfe946bfd9968 (patch)
tree8b7a8b5c4617c791955e031810da73063ad67f6d /Eigen/src/Core/PermutationMatrix.h
parentf34eaa2628181f94262ea87c3cd48ad116915551 (diff)
compilation fix
Diffstat (limited to 'Eigen/src/Core/PermutationMatrix.h')
-rw-r--r--Eigen/src/Core/PermutationMatrix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/Core/PermutationMatrix.h b/Eigen/src/Core/PermutationMatrix.h
index a996e8f1e..7eca5c3a2 100644
--- a/Eigen/src/Core/PermutationMatrix.h
+++ b/Eigen/src/Core/PermutationMatrix.h
@@ -72,6 +72,7 @@ class PermutationMatrix : public EigenBase<PermutationMatrix<SizeAtCompileTime,
MaxColsAtCompileTime = Traits::MaxColsAtCompileTime
};
typedef typename Traits::Scalar Scalar;
+ typedef typename Traits::Index Index;
#endif
typedef Matrix<int, SizeAtCompileTime, 1, 0, MaxSizeAtCompileTime, 1> IndicesType;