aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/geo_parametrizedline.cpp
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-21 11:36:00 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-21 11:36:00 +0200
commitdc6ad5e25b786ec6874158b33a77babf14d66941 (patch)
treef3ce86b00aa70851d35e7ac04e0f1209f9cfa55c /test/geo_parametrizedline.cpp
parent5f65a89f49a6b9426b09d9b3ce7c31cf015c1879 (diff)
More Index related stuff.
Diffstat (limited to 'test/geo_parametrizedline.cpp')
-rw-r--r--test/geo_parametrizedline.cpp4
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;