mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix Tensor module wrt nullary functor recent change
This commit is contained in:
@@ -233,7 +233,7 @@ struct TensorEvaluator<const TensorCwiseNullaryOp<NullaryOp, ArgType>, Device>
|
|||||||
template<int LoadMode>
|
template<int LoadMode>
|
||||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const
|
||||||
{
|
{
|
||||||
return m_functor.packetOp(index);
|
return m_functor.template packetOp<Index,PacketReturnType>(index);
|
||||||
}
|
}
|
||||||
|
|
||||||
EIGEN_DEVICE_FUNC CoeffReturnType* data() const { return NULL; }
|
EIGEN_DEVICE_FUNC CoeffReturnType* data() const { return NULL; }
|
||||||
|
|||||||
Reference in New Issue
Block a user