Capture TensorMap by value inside tensor expression AST

This commit is contained in:
Eugene Zhulenev 2019-12-03 16:39:05 -08:00
parent 4e696901f8
commit 8f4536e852

View File

@ -201,18 +201,6 @@ struct nested<const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_> >
};
template <typename PlainObjectType, int Options, template <class> class MakePointer>
struct nested<TensorMap<PlainObjectType, Options, MakePointer> >
{
typedef const TensorMap<PlainObjectType, Options, MakePointer>EIGEN_DEVICE_REF type;
};
template <typename PlainObjectType, int Options, template <class> class MakePointer>
struct nested<const TensorMap<PlainObjectType, Options, MakePointer> >
{
typedef const TensorMap<PlainObjectType, Options, MakePointer>EIGEN_DEVICE_REF type;
};
template <typename PlainObjectType>
struct nested<TensorRef<PlainObjectType> >
{