diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-05-27 05:47:30 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-05-27 05:47:30 +0000 |
commit | 953efdbfe70efcb3f078f19c55baca0b118e683a (patch) | |
tree | dece04572c4384687accc008cfe9115cdc2ee6a0 /Eigen/src/Core/CwiseBinaryOp.h | |
parent | 8f1fc80a77551b26c05669527534aff7b621b86c (diff) |
- introduce Part and Extract classes, splitting and extending the former
Triangular class
- full meta-unrolling in Part
- move inverseProduct() to MatrixBase
- compilation fix in ProductWIP: introduce a meta-selector to only do
direct access on types that support it.
- phase out the old Product, remove the WIP_DIRTY stuff.
- misc renaming and fixes
Diffstat (limited to 'Eigen/src/Core/CwiseBinaryOp.h')
-rw-r--r-- | Eigen/src/Core/CwiseBinaryOp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Core/CwiseBinaryOp.h b/Eigen/src/Core/CwiseBinaryOp.h index 3142a7885..c514e2169 100644 --- a/Eigen/src/Core/CwiseBinaryOp.h +++ b/Eigen/src/Core/CwiseBinaryOp.h @@ -65,11 +65,11 @@ struct ei_traits<CwiseBinaryOp<BinaryOp, Lhs, Rhs> > ColsAtCompileTime = Lhs::ColsAtCompileTime, MaxRowsAtCompileTime = Lhs::MaxRowsAtCompileTime, MaxColsAtCompileTime = Lhs::MaxColsAtCompileTime, - Flags = ((int(LhsFlags) | int(RhsFlags)) & ( + Flags = (int(LhsFlags) | int(RhsFlags)) & ( HereditaryBits - | int(LhsFlags) & int(RhsFlags) & Like1DArrayBit + | (int(LhsFlags) & int(RhsFlags) & Like1DArrayBit) | (ei_functor_traits<BinaryOp>::IsVectorizable && ((int(LhsFlags) & RowMajorBit)==(int(RhsFlags) & RowMajorBit)) - ? int(LhsFlags) & int(RhsFlags) & VectorizableBit : 0))), + ? int(LhsFlags) & int(RhsFlags) & VectorizableBit : 0)), CoeffReadCost = LhsCoeffReadCost + RhsCoeffReadCost + ei_functor_traits<BinaryOp>::Cost }; }; |