diff options
-rw-r--r-- | unsupported/Eigen/CXX11/src/Core/util/EmulateArray.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Core/util/EmulateArray.h b/unsupported/Eigen/CXX11/src/Core/util/EmulateArray.h index 894b22009..efe688e50 100644 --- a/unsupported/Eigen/CXX11/src/Core/util/EmulateArray.h +++ b/unsupported/Eigen/CXX11/src/Core/util/EmulateArray.h @@ -180,7 +180,7 @@ template <typename T> class array<T, 0> { // Comparison operator // Todo: implement !=, <, <=, >, and >= template<class T, std::size_t N> -bool operator==(const array<T,N>& lhs, const array<T,N>& rhs) { +EIGEN_DEVICE_FUNC bool operator==(const array<T,N>& lhs, const array<T,N>& rhs) { for (std::size_t i = 0; i < N; ++i) { if (lhs[i] != rhs[i]) { return false; |