aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/linearstructure.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/linearstructure.cpp
parent5f65a89f49a6b9426b09d9b3ce7c31cf015c1879 (diff)
More Index related stuff.
Diffstat (limited to 'test/linearstructure.cpp')
-rw-r--r--test/linearstructure.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/linearstructure.cpp b/test/linearstructure.cpp
index 1d86af337..a0b8982dd 100644
--- a/test/linearstructure.cpp
+++ b/test/linearstructure.cpp
@@ -45,8 +45,8 @@ template<typename MatrixType> void linearStructure(const MatrixType& m)
Scalar s1 = ei_random<Scalar>();
while (ei_abs(s1)<1e-3) s1 = ei_random<Scalar>();
- int r = ei_random<int>(0, rows-1),
- c = ei_random<int>(0, cols-1);
+ Index r = ei_random<Index>(0, rows-1),
+ c = ei_random<Index>(0, cols-1);
VERIFY_IS_APPROX(-(-m1), m1);
VERIFY_IS_APPROX(m1+m1, 2*m1);