Commits

Gael Guennebaud  committed 999eeb8 Merge

Merged in benoitsteiner/eigen-fixes/nvcc_fixes (pull request #56)

Fixed a typo in CXX11Meta.h

  • Participants
  • Parent commits 7aaf133, f9a4900

Comments (0)

Files changed (1)

File unsupported/Eigen/CXX11/src/Core/util/CXX11Meta.h

 struct not_equal_op     { template<typename A, typename B> constexpr static inline auto run(A a, B b) -> decltype(a != b)  { return a != b;  } };
 struct lesser_op        { template<typename A, typename B> constexpr static inline auto run(A a, B b) -> decltype(a < b)   { return a < b;   } };
 struct lesser_equal_op  { template<typename A, typename B> constexpr static inline auto run(A a, B b) -> decltype(a <= b)  { return a <= b;  } };
-struct greater_op       { template<typename A, typename B> constexpr static inline auto run(A a, B b) -> decltype(a < b)   { return a < b;   } };
+struct greater_op       { template<typename A, typename B> constexpr static inline auto run(A a, B b) -> decltype(a > b)   { return a > b;   } };
 struct greater_equal_op { template<typename A, typename B> constexpr static inline auto run(A a, B b) -> decltype(a >= b)  { return a >= b;  } };
 
 /* generic unary operations */