fix a couple of ICE with gcc 4.0.1

This commit is contained in:
Gael Guennebaud
2010-02-12 09:41:56 +01:00
parent 1701a5d1f8
commit a76950bdab
4 changed files with 6 additions and 6 deletions

View File

@@ -99,7 +99,7 @@ template<typename Derived>
inline typename ei_traits<Derived>::Scalar MatrixBase<Derived>::determinant() const
{
assert(rows() == cols());
typedef typename ei_nested<Derived,RowsAtCompileTime>::type Nested;
typedef typename ei_nested<Derived,Base::RowsAtCompileTime>::type Nested;
Nested nested(derived());
return ei_determinant_impl<typename ei_cleantype<Nested>::type>::run(nested);
}