diff options
Diffstat (limited to 'test/geo_alignedbox.cpp')
-rw-r--r-- | test/geo_alignedbox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<typename BoxType> 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<Scalar>::Real RealScalar; typedef Matrix<Scalar, BoxType::AmbientDimAtCompileTime, 1> VectorType; |