diff options
Diffstat (limited to 'Eigen/src/Core/CwiseUnaryOp.h')
-rw-r--r-- | Eigen/src/Core/CwiseUnaryOp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Eigen/src/Core/CwiseUnaryOp.h b/Eigen/src/Core/CwiseUnaryOp.h index aa7df197f..25da52ab7 100644 --- a/Eigen/src/Core/CwiseUnaryOp.h +++ b/Eigen/src/Core/CwiseUnaryOp.h @@ -46,8 +46,11 @@ struct traits<CwiseUnaryOp<UnaryOp, XprType> > enum { Flags = _XprTypeNested::Flags & ( HereditaryBits | LinearAccessBit | AlignedBit - | (functor_traits<UnaryOp>::PacketAccess ? PacketAccessBit : 0)), + | (functor_traits<UnaryOp>::PacketAccess ? PacketAccessBit : 0)) +#ifndef EIGEN_TEST_EVALUATORS + , CoeffReadCost = _XprTypeNested::CoeffReadCost + functor_traits<UnaryOp>::Cost +#endif }; }; } |