From dc6ad5e25b786ec6874158b33a77babf14d66941 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Mon, 21 Jun 2010 11:36:00 +0200 Subject: More Index related stuff. --- test/geo_hyperplane.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/geo_hyperplane.cpp') 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 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::Real RealScalar; typedef Matrix VectorType; -- cgit v1.2.3