aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Swap.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-11-17 16:04:19 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-11-17 16:04:19 +0100
commit1e62e0b0d823078aa2d9b8ed2c93f7bc889df177 (patch)
treebaf0ebffcfc15fc56e293494c24d417a4807b74c /Eigen/src/Core/Swap.h
parent63bcc1c0fbd03042715caf40aa090385c8fe0043 (diff)
more ET refactoring:
* extend Cwise for multiple storage base class * a lot of cleaning in the Sparse module
Diffstat (limited to 'Eigen/src/Core/Swap.h')
-rw-r--r--Eigen/src/Core/Swap.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/Eigen/src/Core/Swap.h b/Eigen/src/Core/Swap.h
index 45c180983..2af78485b 100644
--- a/Eigen/src/Core/Swap.h
+++ b/Eigen/src/Core/Swap.h
@@ -32,18 +32,7 @@
* \brief Internal helper class for swapping two expressions
*/
template<typename ExpressionType>
-struct ei_traits<SwapWrapper<ExpressionType> >
-{
- typedef typename ExpressionType::Scalar Scalar;
- enum {
- RowsAtCompileTime = ExpressionType::RowsAtCompileTime,
- ColsAtCompileTime = ExpressionType::ColsAtCompileTime,
- MaxRowsAtCompileTime = ExpressionType::MaxRowsAtCompileTime,
- MaxColsAtCompileTime = ExpressionType::MaxColsAtCompileTime,
- Flags = ExpressionType::Flags,
- CoeffReadCost = ExpressionType::CoeffReadCost
- };
-};
+struct ei_traits<SwapWrapper<ExpressionType> > : ei_traits<ExpressionType> {};
template<typename ExpressionType> class SwapWrapper
: public MatrixBase<SwapWrapper<ExpressionType> >