Added missing template parameters

This commit is contained in:
Benoit Steiner 2016-10-28 03:43:41 +00:00
parent 530f20c21a
commit b0c5bfdf78

View File

@ -142,16 +142,16 @@ struct eval<const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_>, Eig
typedef const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_>& type; typedef const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_>& type;
}; };
template<typename PlainObjectType, int Options> template<typename PlainObjectType, int Options, template <class> class MakePointer>
struct eval<TensorMap<PlainObjectType, Options>, Eigen::Dense> struct eval<TensorMap<PlainObjectType, Options, MakePointer>, Eigen::Dense>
{ {
typedef const TensorMap<PlainObjectType, Options>& type; typedef const TensorMap<PlainObjectType, Options, MakePointer>& type;
}; };
template<typename PlainObjectType, int Options> template<typename PlainObjectType, int Options, template <class> class MakePointer>
struct eval<const TensorMap<PlainObjectType, Options>, Eigen::Dense> struct eval<const TensorMap<PlainObjectType, Options, MakePointer>, Eigen::Dense>
{ {
typedef const TensorMap<PlainObjectType, Options>& type; typedef const TensorMap<PlainObjectType, Options, MakePointer>& type;
}; };
template<typename PlainObjectType> template<typename PlainObjectType>
@ -197,16 +197,16 @@ struct nested<const TensorFixedSize<Scalar_, Dimensions, Options, IndexType_> >
}; };
template <typename PlainObjectType, int Options> template <typename PlainObjectType, int Options, template <class> class MakePointer>
struct nested<TensorMap<PlainObjectType, Options> > struct nested<TensorMap<PlainObjectType, Options, MakePointer> >
{ {
typedef const TensorMap<PlainObjectType, Options>& type; typedef const TensorMap<PlainObjectType, Options, MakePointer>& type;
}; };
template <typename PlainObjectType, int Options> template <typename PlainObjectType, int Options, template <class> class MakePointer>
struct nested<const TensorMap<PlainObjectType, Options> > struct nested<const TensorMap<PlainObjectType, Options, MakePointer> >
{ {
typedef const TensorMap<PlainObjectType, Options>& type; typedef const TensorMap<PlainObjectType, Options, MakePointer>& type;
}; };
template <typename PlainObjectType> template <typename PlainObjectType>