mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Fixed a compilation warning
This commit is contained in:
parent
10a91930cc
commit
7815b84be4
@ -1227,9 +1227,9 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
|
|||||||
// If we want to compute A * B = C, where A is LHS and B is RHS, the code
|
// If we want to compute A * B = C, where A is LHS and B is RHS, the code
|
||||||
// will pretend B is LHS and A is RHS.
|
// will pretend B is LHS and A is RHS.
|
||||||
typedef typename internal::conditional<
|
typedef typename internal::conditional<
|
||||||
Layout == ColMajor, LeftArgType, RightArgType>::type EvalLeftArgType;
|
static_cast<int>(Layout) == static_cast<int>(ColMajor), LeftArgType, RightArgType>::type EvalLeftArgType;
|
||||||
typedef typename internal::conditional<
|
typedef typename internal::conditional<
|
||||||
Layout == ColMajor, RightArgType, LeftArgType>::type EvalRightArgType;
|
static_cast<int>(Layout) == static_cast<int>(ColMajor), RightArgType, LeftArgType>::type EvalRightArgType;
|
||||||
|
|
||||||
static const int LDims =
|
static const int LDims =
|
||||||
internal::array_size<typename TensorEvaluator<EvalLeftArgType, Device>::Dimensions>::value;
|
internal::array_size<typename TensorEvaluator<EvalLeftArgType, Device>::Dimensions>::value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user