bug #1396: add some missing EIGEN_DEVICE_FUNC

(grafted from 4e98a7b2f0
)
This commit is contained in:
Gael Guennebaud
2017-02-28 09:47:38 +01:00
parent 106ba41c2a
commit faf8af25ed
2 changed files with 5 additions and 5 deletions

View File

@@ -484,9 +484,9 @@ template<typename Derived> class DenseBase
return derived().coeff(0,0);
}
bool all() const;
bool any() const;
Index count() const;
EIGEN_DEVICE_FUNC bool all() const;
EIGEN_DEVICE_FUNC bool any() const;
EIGEN_DEVICE_FUNC Index count() const;
typedef VectorwiseOp<Derived, Horizontal> RowwiseReturnType;
typedef const VectorwiseOp<const Derived, Horizontal> ConstRowwiseReturnType;