mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
static const class members turned into constexpr
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
2c0ef43b48
commit
64909b82bd
@@ -82,8 +82,8 @@ class Tensor : public TensorBase<Tensor<Scalar_, NumIndices_, Options_, IndexTyp
|
||||
};
|
||||
|
||||
static constexpr int Layout = Options_ & RowMajor ? RowMajor : ColMajor;
|
||||
static const int Options = Options_;
|
||||
static const int NumIndices = NumIndices_;
|
||||
static constexpr int Options = Options_;
|
||||
static constexpr int NumIndices = NumIndices_;
|
||||
typedef DSizes<Index, NumIndices_> Dimensions;
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user