mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 03:09:01 +08:00
Merged in ezhulenev/eigen-01 (pull request PR-769)
Capture TensorMap by value inside tensor expression AST
This commit is contained in:
commit
a7c7d329d8
@ -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>
|
template <typename PlainObjectType>
|
||||||
struct nested<TensorRef<PlainObjectType> >
|
struct nested<TensorRef<PlainObjectType> >
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user