diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-06-16 14:54:31 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-06-16 14:54:31 +0000 |
commit | bb1f4e44f10de50b5b52a3973324c1a0952e3f29 (patch) | |
tree | adf665eb4257e09edf640e23cc621e7d178d0cbd /Eigen/src/Core/CwiseUnaryOp.h | |
parent | 9857764ae7f907e5cf441ebf6348f581f874dd00 (diff) |
* Block: row and column expressions in the inner direction
now have the Like1D flag.
* Big renaming:
packetCoeff ---> packet
VectorizableBit ---> PacketAccessBit
Like1DArrayBit ---> LinearAccessBit
Diffstat (limited to 'Eigen/src/Core/CwiseUnaryOp.h')
-rw-r--r-- | Eigen/src/Core/CwiseUnaryOp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/Core/CwiseUnaryOp.h b/Eigen/src/Core/CwiseUnaryOp.h index 8715f931e..10228e3ec 100644 --- a/Eigen/src/Core/CwiseUnaryOp.h +++ b/Eigen/src/Core/CwiseUnaryOp.h @@ -55,8 +55,8 @@ struct ei_traits<CwiseUnaryOp<UnaryOp, MatrixType> > MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime, MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime, Flags = (MatrixTypeFlags & ( - HereditaryBits | Like1DArrayBit - | (ei_functor_traits<UnaryOp>::IsVectorizable ? VectorizableBit : 0))), + HereditaryBits | LinearAccessBit + | (ei_functor_traits<UnaryOp>::PacketAccess ? PacketAccessBit : 0))), CoeffReadCost = MatrixTypeCoeffReadCost + ei_functor_traits<UnaryOp>::Cost }; }; @@ -83,9 +83,9 @@ class CwiseUnaryOp : ei_no_assignment_operator, } template<int LoadMode> - inline PacketScalar _packetCoeff(int row, int col) const + inline PacketScalar _packet(int row, int col) const { - return m_functor.packetOp(m_matrix.template packetCoeff<LoadMode>(row, col)); + return m_functor.packetOp(m_matrix.template packet<LoadMode>(row, col)); } protected: |