diff options
author | 2009-12-02 19:32:54 +0100 | |
---|---|---|
committer | 2009-12-02 19:32:54 +0100 | |
commit | e12f5adbdeee6281af8a534652c3d82638630419 (patch) | |
tree | a786b4c8d04c04825fdc192ca2a08cacf232d0a4 /Eigen/src/Geometry/Hyperplane.h | |
parent | de250595029f9cdce7c43eacd37542383f969e29 (diff) |
fix MSVC10 compilation
Diffstat (limited to 'Eigen/src/Geometry/Hyperplane.h')
-rw-r--r-- | Eigen/src/Geometry/Hyperplane.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Geometry/Hyperplane.h b/Eigen/src/Geometry/Hyperplane.h index 49a9ac7bb..aab3d5b35 100644 --- a/Eigen/src/Geometry/Hyperplane.h +++ b/Eigen/src/Geometry/Hyperplane.h @@ -52,9 +52,9 @@ public: typedef _Scalar Scalar; typedef typename NumTraits<Scalar>::Real RealScalar; typedef Matrix<Scalar,AmbientDimAtCompileTime,1> VectorType; - typedef Matrix<Scalar,AmbientDimAtCompileTime==Dynamic + typedef Matrix<Scalar,int(AmbientDimAtCompileTime)==Dynamic ? Dynamic - : AmbientDimAtCompileTime+1,1> Coefficients; + : int(AmbientDimAtCompileTime)+1,1> Coefficients; typedef Block<Coefficients,AmbientDimAtCompileTime,1> NormalReturnType; /** Default constructor without initialization */ |