Fix ODR violations.

This commit is contained in:
Antonio Sánchez 2022-07-09 04:56:36 +00:00
parent 06a458a13d
commit bb51d9f4fa
2 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@
namespace Eigen { namespace Eigen {
namespace internal { namespace internal {
typedef enum {LUSUP, UCOL, LSUB, USUB, LLVL, ULVL} MemType; enum MemType {LUSUP, UCOL, LSUB, USUB, LLVL, ULVL};
template <typename IndexVector, typename ScalarVector> template <typename IndexVector, typename ScalarVector>
struct LU_GlobalLU_t { struct LU_GlobalLU_t {

View File

@ -256,10 +256,10 @@ struct nested<const TensorRef<PlainObjectType> >
// the SAME case. // the SAME case.
// When the stride is 1, we have the simplified case R'=R-K+1, C'=C-K+1, Pr=0, // When the stride is 1, we have the simplified case R'=R-K+1, C'=C-K+1, Pr=0,
// Pc=0. // Pc=0.
typedef enum { enum PaddingType {
PADDING_VALID = 1, PADDING_VALID = 1,
PADDING_SAME = 2 PADDING_SAME = 2
} PaddingType; };
} // end namespace Eigen } // end namespace Eigen