diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2010-06-21 11:36:00 +0200 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2010-06-21 11:36:00 +0200 |
commit | dc6ad5e25b786ec6874158b33a77babf14d66941 (patch) | |
tree | f3ce86b00aa70851d35e7ac04e0f1209f9cfa55c /test/geo_hyperplane.cpp | |
parent | 5f65a89f49a6b9426b09d9b3ce7c31cf015c1879 (diff) |
More Index related stuff.
Diffstat (limited to 'test/geo_hyperplane.cpp')
-rw-r--r-- | test/geo_hyperplane.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/geo_hyperplane.cpp b/test/geo_hyperplane.cpp index cd19698bc..d40d6719c 100644 --- a/test/geo_hyperplane.cpp +++ b/test/geo_hyperplane.cpp @@ -33,8 +33,8 @@ template<typename HyperplaneType> void hyperplane(const HyperplaneType& _plane) /* this test covers the following files: Hyperplane.h */ - - const int dim = _plane.dim(); + typedef typename HyperplaneType::Index Index; + const Index dim = _plane.dim(); typedef typename HyperplaneType::Scalar Scalar; typedef typename NumTraits<Scalar>::Real RealScalar; typedef Matrix<Scalar, HyperplaneType::AmbientDimAtCompileTime, 1> VectorType; |