fix compilation (finish removal of EIGEN_UNROLLED_LOOPS)

This commit is contained in:
Benoit Jacob
2008-04-05 14:20:30 +00:00
parent 61e58cf602
commit 30ec34de36
2 changed files with 4 additions and 12 deletions

View File

@@ -74,9 +74,7 @@ template<typename Derived>
template<typename Visitor>
void MatrixBase<Derived>::visit(Visitor& visitor) const
{
if(EIGEN_UNROLLED_LOOPS
&& SizeAtCompileTime != Dynamic
&& SizeAtCompileTime <= EIGEN_UNROLLING_LIMIT)
if(SizeAtCompileTime <= EIGEN_UNROLLING_LIMIT)
return ei_visitor_unroller<Visitor, Derived,
(SizeAtCompileTime>0 && SizeAtCompileTime <= EIGEN_UNROLLING_LIMIT) ?
SizeAtCompileTime : Dynamic>::run(derived(), visitor);