aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Difference.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-01-15 13:55:47 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-01-15 13:55:47 +0000
commitc67e717404258d3625a74c67f50be34939af6d95 (patch)
tree2eab0b2e520acb2ccbd88fa8242a2c9c9ea8b980 /Eigen/src/Core/Difference.h
parent9c9a42cc49f9c7f0e0d87c827734262cc5f5fbc3 (diff)
alpha 3.1. in this commit:
- finally get the Eval stuff right. get back to having Eval as a subclass of Matrix with limited functionality, and then, add a typedef MatrixType to get the actual matrix type. - add swap(), findBiggestCoeff() - bugfix by Ramon in Transpose - new demo: doc/echelon.cpp
Diffstat (limited to 'Eigen/src/Core/Difference.h')
-rw-r--r--Eigen/src/Core/Difference.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/Difference.h b/Eigen/src/Core/Difference.h
index 99cf5674f..645de9151 100644
--- a/Eigen/src/Core/Difference.h
+++ b/Eigen/src/Core/Difference.h
@@ -47,7 +47,8 @@ template<typename Lhs, typename Rhs> class Difference : NoOperatorEquals,
typedef typename Lhs::Ref LhsRef;
typedef typename Rhs::Ref RhsRef;
friend class MatrixBase<Scalar, Difference>;
-
+ typedef MatrixBase<Scalar, Difference> Base;
+
Difference(const LhsRef& lhs, const RhsRef& rhs)
: m_lhs(lhs), m_rhs(rhs)
{