mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix MSVC10 compilation issues
This commit is contained in:
@@ -52,9 +52,9 @@ public:
|
|||||||
typedef _Scalar Scalar;
|
typedef _Scalar Scalar;
|
||||||
typedef typename NumTraits<Scalar>::Real RealScalar;
|
typedef typename NumTraits<Scalar>::Real RealScalar;
|
||||||
typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType;
|
typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType;
|
||||||
typedef Matrix<Scalar,AmbientDimAtCompileTime==Dynamic
|
typedef Matrix<Scalar,int(AmbientDimAtCompileTime)==Dynamic
|
||||||
? Dynamic
|
? Dynamic
|
||||||
: AmbientDimAtCompileTime+1,1> Coefficients;
|
: int(AmbientDimAtCompileTime)+1,1> Coefficients;
|
||||||
typedef Block<Coefficients,AmbientDimAtCompileTime,1> NormalReturnType;
|
typedef Block<Coefficients,AmbientDimAtCompileTime,1> NormalReturnType;
|
||||||
|
|
||||||
/** Default constructor without initialization */
|
/** Default constructor without initialization */
|
||||||
|
|||||||
Reference in New Issue
Block a user