mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
reorganize meta loop unrolling, add Trace (meta-unrolled), fix compilation issues in
the conjugation/adjunction stuff
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user