mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-07 18:27:40 +08:00
Fix ODR violations.
This commit is contained in:
parent
06a458a13d
commit
bb51d9f4fa
@ -73,7 +73,7 @@
|
||||
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 {
|
||||
|
@ -256,10 +256,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…
Reference in New Issue
Block a user