aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Sum.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-01-05 10:57:14 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-01-05 10:57:14 +0000
commitd1d55e67e967a9bd0d447a7ea105ac2771cde557 (patch)
tree53e40f4b87664c47c67f0394bc617999ad64ecf3 /Eigen/src/Core/Sum.h
parent23ffede3d0d280962bad418a41957cf82e3fadc9 (diff)
- make MatrixBase and all expressions aware of their preferred traversal order.
Honor this preference in operator=. - add several methods to the API - rework API for diagonal matrices - add benchmarking code
Diffstat (limited to 'Eigen/src/Core/Sum.h')
-rw-r--r--Eigen/src/Core/Sum.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/Core/Sum.h b/Eigen/src/Core/Sum.h
index 51dc66bfa..453033673 100644
--- a/Eigen/src/Core/Sum.h
+++ b/Eigen/src/Core/Sum.h
@@ -42,6 +42,7 @@ template<typename Lhs, typename Rhs> class Sum : NoOperatorEquals,
}
private:
+ static const TraversalOrder _Order = Lhs::Order;
static const int _RowsAtCompileTime = Lhs::RowsAtCompileTime,
_ColsAtCompileTime = Rhs::ColsAtCompileTime;