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_alignedbox.cpp | |
parent | 5f65a89f49a6b9426b09d9b3ce7c31cf015c1879 (diff) |
More Index related stuff.
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; |