mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-23 06:43:13 +08:00
Remove duplicate IsRowMajor declaration.
This commit is contained in:
parent
0e6f4e43f1
commit
0ae94456a0
@ -86,8 +86,6 @@ EIGEN_DEVICE_FUNC inline bool DenseBase<Derived>::all() const
|
||||
enum {
|
||||
unroll = SizeAtCompileTime != Dynamic
|
||||
&& SizeAtCompileTime * (int(Evaluator::CoeffReadCost) + int(NumTraits<Scalar>::AddCost)) <= EIGEN_UNROLLING_LIMIT,
|
||||
IsRowMajor = (int(internal::traits<Derived>::Flags) & int(RowMajor)),
|
||||
InnerSizeAtCompileTime = IsRowMajor ? internal::traits<Derived>::ColsAtCompileTime : internal::traits<Derived>::RowsAtCompileTime
|
||||
};
|
||||
Evaluator evaluator(derived());
|
||||
if(unroll)
|
||||
@ -112,8 +110,6 @@ EIGEN_DEVICE_FUNC inline bool DenseBase<Derived>::any() const
|
||||
enum {
|
||||
unroll = SizeAtCompileTime != Dynamic
|
||||
&& SizeAtCompileTime * (int(Evaluator::CoeffReadCost) + int(NumTraits<Scalar>::AddCost)) <= EIGEN_UNROLLING_LIMIT,
|
||||
IsRowMajor = (int(internal::traits<Derived>::Flags) & int(RowMajor)),
|
||||
InnerSizeAtCompileTime = IsRowMajor ? internal::traits<Derived>::ColsAtCompileTime : internal::traits<Derived>::RowsAtCompileTime
|
||||
};
|
||||
Evaluator evaluator(derived());
|
||||
if(unroll)
|
||||
|
Loading…
x
Reference in New Issue
Block a user