Mark index_remap as EIGEN_DEVICE_FUNC in src/Core/Reshaped.h (Fixes #2493)

This commit is contained in:
Binhao Qin 2022-06-07 20:10:47 +00:00 committed by Antonio Sánchez
parent 28812d2ebb
commit 95463b59bc

View File

@ -325,7 +325,7 @@ struct reshaped_evaluator<ArgType, Rows, Cols, Order, /* HasDirectAccess */ fals
typedef std::pair<Index, Index> RowCol;
inline RowCol index_remap(Index rowId, Index colId) const
EIGEN_DEVICE_FUNC inline RowCol index_remap(Index rowId, Index colId) const
{
if(Order==ColMajor)
{