diff options
-rw-r--r-- | Eigen/src/Array/Select.h | 3 | ||||
-rw-r--r-- | Eigen/src/Core/util/Macros.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Eigen/src/Array/Select.h b/Eigen/src/Array/Select.h index 9e0814b84..9dc3fb1b2 100644 --- a/Eigen/src/Array/Select.h +++ b/Eigen/src/Array/Select.h @@ -108,6 +108,9 @@ class Select : ei_no_assignment_operator, * \returns a matrix where each coefficient (i,j) is equal to \a thenMatrix(i,j) * if \c *this(i,j), and \a elseMatrix(i,j) otherwise. * + * Example: \include MatrixBase_select.cpp + * Output: \verbinclude MatrixBase_select.out + * * \sa class Select */ template<typename Derived> diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 844b8831b..2a396abf0 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -114,7 +114,7 @@ using Eigen::ei_cos; #if (defined _MSC_VER) #define EIGEN_STRONG_INLINE __forceinline #else -#define EIGEN_STRONG_INLINE inline +#define EIGEN_STRONG_INLINE __attribute__((always_inline)) #endif #if (defined __GNUC__) |