compilation fix

This commit is contained in:
Gael Guennebaud 2010-06-20 22:27:35 +02:00
parent f34eaa2628
commit 52165ba55a

View File

@ -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;