aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/SelfAdjointView.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-01-25 23:02:14 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-01-25 23:02:14 +0100
commit5fa7262e4c9fdbac2e5ddc4e2bb2241e04a10bef (patch)
tree2299d1899a1400668141cc0df18c59f4d292a3d6 /Eigen/src/Core/SelfAdjointView.h
parentfef534f52e403e24637209f1ad843111c81122bd (diff)
Refactor triangular assignment
Diffstat (limited to 'Eigen/src/Core/SelfAdjointView.h')
-rw-r--r--Eigen/src/Core/SelfAdjointView.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Eigen/src/Core/SelfAdjointView.h b/Eigen/src/Core/SelfAdjointView.h
index a5c6d5ceb..f34de8b39 100644
--- a/Eigen/src/Core/SelfAdjointView.h
+++ b/Eigen/src/Core/SelfAdjointView.h
@@ -244,6 +244,8 @@ template<typename _MatrixType, unsigned int UpLo> class SelfAdjointView
namespace internal {
+#ifndef EIGEN_TEST_EVALUATORS
+
template<typename Derived1, typename Derived2, int UnrollCount, bool ClearOpposite>
struct triangular_assignment_selector<Derived1, Derived2, (SelfAdjoint|Upper), UnrollCount, ClearOpposite>
{
@@ -336,6 +338,8 @@ struct triangular_assignment_selector<Derived1, Derived2, SelfAdjoint|Lower, Dyn
}
};
+#endif // EIGEN_TEST_EVALUATORS
+
#ifdef EIGEN_ENABLE_EVALUATORS
// TODO currently a selfadjoint expression has the form SelfAdjointView<.,.>
// in the future selfadjoint-ness should be defined by the expression traits
@@ -348,6 +352,7 @@ struct evaluator_traits<SelfAdjointView<MatrixType,Mode> >
static const int AssumeAliasing = 0;
};
+
#endif // EIGEN_ENABLE_EVALUATORS
} // end namespace internal