From d40c110053c13692ffc0df25fca292d98996d496 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 22 Jan 2010 10:15:41 +0100 Subject: lot of cleaning: - clean the *_PUBLIC_INTERFACE_* - update Diagonal, ReturnByValue, ForceAlignedAccess, UnaryView, etc. to support array - many other small stuff --- Eigen/src/Core/ForceAlignedAccess.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Eigen/src/Core/ForceAlignedAccess.h') diff --git a/Eigen/src/Core/ForceAlignedAccess.h b/Eigen/src/Core/ForceAlignedAccess.h index b3fbb3c5c..927f43413 100644 --- a/Eigen/src/Core/ForceAlignedAccess.h +++ b/Eigen/src/Core/ForceAlignedAccess.h @@ -1,7 +1,7 @@ // This file is part of Eigen, a lightweight C++ template library // for linear algebra. // -// Copyright (C) 2009 Gael Guennebaud +// Copyright (C) 2009-2010 Gael Guennebaud // // Eigen is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -41,11 +41,12 @@ struct ei_traits > : public ei_traits class ForceAlignedAccess - : public MatrixBase > + : public ExpressionType::template MakeBase< ForceAlignedAccess >::Type { public: - EIGEN_GENERIC_PUBLIC_INTERFACE(ForceAlignedAccess) + typedef typename ExpressionType::template MakeBase >::Type Base; + EIGEN_DENSE_PUBLIC_INTERFACE(ForceAlignedAccess) inline ForceAlignedAccess(const ExpressionType& matrix) : m_expression(matrix) {} -- cgit v1.2.3