mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-13 00:21:49 +08:00
Fix ODR violations.
(cherry picked from commit bb51d9f4fa3cf1114348b9180640d6da7d3964f9)
This commit is contained in:
parent
a11bdf3965
commit
f55a112cb1
@ -70,8 +70,8 @@
|
||||
#define EIGEN_LU_STRUCTS
|
||||
namespace Eigen {
|
||||
namespace internal {
|
||||
|
||||
typedef enum {LUSUP, UCOL, LSUB, USUB, LLVL, ULVL} MemType;
|
||||
|
||||
enum MemType {LUSUP, UCOL, LSUB, USUB, LLVL, ULVL};
|
||||
|
||||
template <typename IndexVector, typename ScalarVector>
|
||||
struct LU_GlobalLU_t {
|
||||
|
@ -254,10 +254,10 @@ struct nested<const TensorRef<PlainObjectType> >
|
||||
// the SAME case.
|
||||
// When the stride is 1, we have the simplified case R'=R-K+1, C'=C-K+1, Pr=0,
|
||||
// Pc=0.
|
||||
typedef enum {
|
||||
enum PaddingType {
|
||||
PADDING_VALID = 1,
|
||||
PADDING_SAME = 2
|
||||
} PaddingType;
|
||||
};
|
||||
|
||||
} // end namespace Eigen
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user