Fix ODR violations.

(cherry picked from commit bb51d9f4fa3cf1114348b9180640d6da7d3964f9)
This commit is contained in:
Antonio Sánchez 2022-07-09 04:56:36 +00:00 committed by Antonio Sanchez
parent a11bdf3965
commit f55a112cb1
2 changed files with 4 additions and 4 deletions

View File

@ -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 {

View File

@ -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