aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/product.h
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-20 20:16:45 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-20 20:16:45 +0200
commit546b802b77817dd7f5cd3b6781ce1a1ac0f728b5 (patch)
tree24a2df8a9afc6163563cae1b0c3dd828b1165dc4 /test/product.h
parentcb11f2f8a644acbf9a408e8eef737bec122307a0 (diff)
Still fixing warnings.
Diffstat (limited to 'test/product.h')
-rw-r--r--test/product.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/product.h b/test/product.h
index d004a4ec4..5365a7dc6 100644
--- a/test/product.h
+++ b/test/product.h
@@ -71,9 +71,9 @@ template<typename MatrixType> void product(const MatrixType& m)
Scalar s1 = ei_random<Scalar>();
- int r = ei_random<int>(0, rows-1),
- c = ei_random<int>(0, cols-1),
- c2 = ei_random<int>(0, cols-1);
+ Index r = ei_random<Index>(0, rows-1),
+ c = ei_random<Index>(0, cols-1),
+ c2 = ei_random<Index>(0, cols-1);
// begin testing Product.h: only associativity for now
// (we use Transpose.h but this doesn't count as a test for it)