add an eigen2support test and a few fixes

This commit is contained in:
Gael Guennebaud
2009-12-16 17:37:21 +01:00
parent 7a9988ebb6
commit 22a6ab1f4b
5 changed files with 77 additions and 8 deletions

View File

@@ -34,7 +34,9 @@ template<typename ExpressionType>
class ArrayWrapper : public ArrayBase<ArrayWrapper<ExpressionType> >
{
public:
EIGEN_GENERIC_PUBLIC_INTERFACE(ArrayWrapper)
typedef ArrayBase<ArrayWrapper> Base;
_EIGEN_DENSE_PUBLIC_INTERFACE(ArrayWrapper)
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(ArrayWrapper)
inline ArrayWrapper(const ExpressionType& matrix) : m_expression(matrix) {}