reorganize meta loop unrolling, add Trace (meta-unrolled), fix compilation issues in

the conjugation/adjunction stuff
This commit is contained in:
Benoit Jacob
2007-10-07 16:40:49 +00:00
parent 4fe78b8e10
commit 95b3316701
6 changed files with 102 additions and 23 deletions

View File

@@ -31,7 +31,7 @@ template<typename MatrixType> class EiConjugate
{
public:
typedef typename MatrixType::Scalar Scalar;
typedef typename MatrixType::Ref MatRef;
typedef typename MatrixType::ConstRef MatRef;
friend class EiObject<Scalar, EiConjugate<MatrixType> >;
static const int RowsAtCompileTime = MatrixType::RowsAtCompileTime,
@@ -61,9 +61,9 @@ template<typename MatrixType> class EiConjugate
template<typename Scalar, typename Derived>
EiConjugate<Derived>
EiObject<Scalar, Derived>::conjugate()
EiObject<Scalar, Derived>::conjugate() const
{
return EiConjugate<Derived>(static_cast<Derived*>(this)->ref());
return EiConjugate<Derived>(static_cast<const Derived*>(this)->constRef());
}
#endif // EI_CONJUGATE_H