mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-01 16:24:28 +08:00
PR 655: Fix missing Eigen namespace in Macros
This commit is contained in:
parent
0b24e1cb5c
commit
ffaf658ecd
@ -184,7 +184,7 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
#define EIGEN_STATIC_ASSERT_NON_INTEGER(TYPE) \
|
#define EIGEN_STATIC_ASSERT_NON_INTEGER(TYPE) \
|
||||||
EIGEN_STATIC_ASSERT(!NumTraits<TYPE>::IsInteger, THIS_FUNCTION_IS_NOT_FOR_INTEGER_NUMERIC_TYPES)
|
EIGEN_STATIC_ASSERT(!Eigen::NumTraits<TYPE>::IsInteger, THIS_FUNCTION_IS_NOT_FOR_INTEGER_NUMERIC_TYPES)
|
||||||
|
|
||||||
|
|
||||||
// static assertion failing if it is guaranteed at compile-time that the two matrix expression types have different sizes
|
// static assertion failing if it is guaranteed at compile-time that the two matrix expression types have different sizes
|
||||||
@ -194,8 +194,8 @@
|
|||||||
YOU_MIXED_MATRICES_OF_DIFFERENT_SIZES)
|
YOU_MIXED_MATRICES_OF_DIFFERENT_SIZES)
|
||||||
|
|
||||||
#define EIGEN_STATIC_ASSERT_SIZE_1x1(TYPE) \
|
#define EIGEN_STATIC_ASSERT_SIZE_1x1(TYPE) \
|
||||||
EIGEN_STATIC_ASSERT((TYPE::RowsAtCompileTime == 1 || TYPE::RowsAtCompileTime == Dynamic) && \
|
EIGEN_STATIC_ASSERT((TYPE::RowsAtCompileTime == 1 || TYPE::RowsAtCompileTime == Eigen::Dynamic) && \
|
||||||
(TYPE::ColsAtCompileTime == 1 || TYPE::ColsAtCompileTime == Dynamic), \
|
(TYPE::ColsAtCompileTime == 1 || TYPE::ColsAtCompileTime == Eigen::Dynamic), \
|
||||||
THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS)
|
THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS)
|
||||||
|
|
||||||
#define EIGEN_STATIC_ASSERT_LVALUE(Derived) \
|
#define EIGEN_STATIC_ASSERT_LVALUE(Derived) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user