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_parametrizedline.cpp | |
parent | 5f65a89f49a6b9426b09d9b3ce7c31cf015c1879 (diff) |
More Index related stuff.
Diffstat (limited to 'test/geo_parametrizedline.cpp')
-rw-r--r-- | test/geo_parametrizedline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/geo_parametrizedline.cpp b/test/geo_parametrizedline.cpp index 137324a98..43db48df1 100644 --- a/test/geo_parametrizedline.cpp +++ b/test/geo_parametrizedline.cpp @@ -33,8 +33,8 @@ template<typename LineType> void parametrizedline(const LineType& _line) /* this test covers the following files: ParametrizedLine.h */ - - const int dim = _line.dim(); + typedef typename LineType::Index Index; + const Index dim = _line.dim(); typedef typename LineType::Scalar Scalar; typedef typename NumTraits<Scalar>::Real RealScalar; typedef Matrix<Scalar, LineType::AmbientDimAtCompileTime, 1> VectorType; |