mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
Workaround wrong instanciation made by VS2010
This commit is contained in:
parent
ed265258e4
commit
b20a55a608
@ -67,15 +67,14 @@ struct binary_evaluator<CwiseBinaryOp<BinaryOp, Lhs, Rhs>, IteratorBased, Iterat
|
|||||||
protected:
|
protected:
|
||||||
typedef typename evaluator<Lhs>::InnerIterator LhsIterator;
|
typedef typename evaluator<Lhs>::InnerIterator LhsIterator;
|
||||||
typedef typename evaluator<Rhs>::InnerIterator RhsIterator;
|
typedef typename evaluator<Rhs>::InnerIterator RhsIterator;
|
||||||
public:
|
|
||||||
typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType;
|
typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType;
|
||||||
|
typedef typename traits<XprType>::Scalar Scalar;
|
||||||
|
typedef typename XprType::StorageIndex StorageIndex;
|
||||||
|
public:
|
||||||
|
|
||||||
class ReverseInnerIterator;
|
class ReverseInnerIterator;
|
||||||
class InnerIterator
|
class InnerIterator
|
||||||
{
|
{
|
||||||
typedef typename traits<XprType>::Scalar Scalar;
|
|
||||||
typedef typename XprType::StorageIndex StorageIndex;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
EIGEN_STRONG_INLINE InnerIterator(const binary_evaluator& aEval, Index outer)
|
EIGEN_STRONG_INLINE InnerIterator(const binary_evaluator& aEval, Index outer)
|
||||||
@ -160,15 +159,14 @@ protected:
|
|||||||
typedef scalar_product_op<T> BinaryOp;
|
typedef scalar_product_op<T> BinaryOp;
|
||||||
typedef typename evaluator<Lhs>::InnerIterator LhsIterator;
|
typedef typename evaluator<Lhs>::InnerIterator LhsIterator;
|
||||||
typedef typename evaluator<Rhs>::InnerIterator RhsIterator;
|
typedef typename evaluator<Rhs>::InnerIterator RhsIterator;
|
||||||
public:
|
|
||||||
typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType;
|
typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType;
|
||||||
|
typedef typename XprType::StorageIndex StorageIndex;
|
||||||
|
typedef typename traits<XprType>::Scalar Scalar;
|
||||||
|
public:
|
||||||
|
|
||||||
class ReverseInnerIterator;
|
class ReverseInnerIterator;
|
||||||
class InnerIterator
|
class InnerIterator
|
||||||
{
|
{
|
||||||
typedef typename traits<XprType>::Scalar Scalar;
|
|
||||||
typedef typename XprType::StorageIndex StorageIndex;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
EIGEN_STRONG_INLINE InnerIterator(const binary_evaluator& aEval, Index outer)
|
EIGEN_STRONG_INLINE InnerIterator(const binary_evaluator& aEval, Index outer)
|
||||||
@ -242,15 +240,14 @@ protected:
|
|||||||
typedef scalar_product_op<T> BinaryOp;
|
typedef scalar_product_op<T> BinaryOp;
|
||||||
typedef evaluator<Lhs> LhsEvaluator;
|
typedef evaluator<Lhs> LhsEvaluator;
|
||||||
typedef typename evaluator<Rhs>::InnerIterator RhsIterator;
|
typedef typename evaluator<Rhs>::InnerIterator RhsIterator;
|
||||||
public:
|
|
||||||
typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType;
|
typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType;
|
||||||
|
typedef typename XprType::StorageIndex StorageIndex;
|
||||||
|
typedef typename traits<XprType>::Scalar Scalar;
|
||||||
|
public:
|
||||||
|
|
||||||
class ReverseInnerIterator;
|
class ReverseInnerIterator;
|
||||||
class InnerIterator
|
class InnerIterator
|
||||||
{
|
{
|
||||||
typedef typename traits<XprType>::Scalar Scalar;
|
|
||||||
typedef typename XprType::StorageIndex StorageIndex;
|
|
||||||
|
|
||||||
enum { IsRowMajor = (int(Rhs::Flags)&RowMajorBit)==RowMajorBit };
|
enum { IsRowMajor = (int(Rhs::Flags)&RowMajorBit)==RowMajorBit };
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@ -312,14 +309,14 @@ protected:
|
|||||||
typedef scalar_product_op<T> BinaryOp;
|
typedef scalar_product_op<T> BinaryOp;
|
||||||
typedef typename evaluator<Lhs>::InnerIterator LhsIterator;
|
typedef typename evaluator<Lhs>::InnerIterator LhsIterator;
|
||||||
typedef evaluator<Rhs> RhsEvaluator;
|
typedef evaluator<Rhs> RhsEvaluator;
|
||||||
public:
|
|
||||||
typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType;
|
typedef CwiseBinaryOp<BinaryOp, Lhs, Rhs> XprType;
|
||||||
|
typedef typename XprType::StorageIndex StorageIndex;
|
||||||
|
typedef typename traits<XprType>::Scalar Scalar;
|
||||||
|
public:
|
||||||
|
|
||||||
class ReverseInnerIterator;
|
class ReverseInnerIterator;
|
||||||
class InnerIterator
|
class InnerIterator
|
||||||
{
|
{
|
||||||
typedef typename traits<XprType>::Scalar Scalar;
|
|
||||||
typedef typename XprType::StorageIndex StorageIndex;
|
|
||||||
enum { IsRowMajor = (int(Lhs::Flags)&RowMajorBit)==RowMajorBit };
|
enum { IsRowMajor = (int(Lhs::Flags)&RowMajorBit)==RowMajorBit };
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user