diff --git a/Eigen/src/Core/Reshaped.h b/Eigen/src/Core/Reshaped.h index 53889fe91..c90e61f2c 100644 --- a/Eigen/src/Core/Reshaped.h +++ b/Eigen/src/Core/Reshaped.h @@ -325,7 +325,7 @@ struct reshaped_evaluator 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) {