From 95f2e7f3f5ebdda92d7c16e2aa3df291b54a4d2f Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 21 Jul 2010 10:57:01 +0200 Subject: introduce a new LvalueBit flag and split DenseCoeffBase into three level of accessors --- Eigen/src/Core/CwiseUnaryView.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/CwiseUnaryView.h') diff --git a/Eigen/src/Core/CwiseUnaryView.h b/Eigen/src/Core/CwiseUnaryView.h index 612b28f1f..37c58223e 100644 --- a/Eigen/src/Core/CwiseUnaryView.h +++ b/Eigen/src/Core/CwiseUnaryView.h @@ -48,7 +48,7 @@ struct ei_traits > typedef typename MatrixType::Nested MatrixTypeNested; typedef typename ei_cleantype::type _MatrixTypeNested; enum { - Flags = (ei_traits<_MatrixTypeNested>::Flags & (HereditaryBits | LinearAccessBit | DirectAccessBit)), + Flags = (ei_traits<_MatrixTypeNested>::Flags & (HereditaryBits | LvalueBit | LinearAccessBit | DirectAccessBit)), CoeffReadCost = ei_traits<_MatrixTypeNested>::CoeffReadCost + ei_functor_traits::Cost, MatrixTypeInnerStride = ei_inner_stride_at_compile_time::ret, // need to cast the sizeof's from size_t to int explicitly, otherwise: -- cgit v1.2.3