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_alignedbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/geo_alignedbox.cpp') diff --git a/test/geo_alignedbox.cpp b/test/geo_alignedbox.cpp index e38349b2a..9c347df00 100644 --- a/test/geo_alignedbox.cpp +++ b/test/geo_alignedbox.cpp @@ -35,8 +35,8 @@ template void alignedbox(const BoxType& _box) /* this test covers the following files: AlignedBox.h */ - - const int dim = _box.dim(); + typedef typename BoxType::Index Index; + const Index dim = _box.dim(); typedef typename BoxType::Scalar Scalar; typedef typename NumTraits::Real RealScalar; typedef Matrix VectorType; -- cgit v1.2.3