commit | cb11f2f8a644acbf9a408e8eef737bec122307a0 | [log] [tgz] |
---|---|---|
author | Hauke Heibel <hauke.heibel@gmail.com> | Sun Jun 20 18:59:15 2010 +0200 |
committer | Hauke Heibel <hauke.heibel@gmail.com> | Sun Jun 20 18:59:15 2010 +0200 |
tree | febc2e53cf4ca10309ef0901eadcbd9625f31b32 | |
parent | f1679c7185471289afaf702a45e336849d20a81a [diff] [blame] |
Fix compilation of some tests as well as more warnings.
diff --git a/test/array.cpp b/test/array.cpp index aea8d20..71bd126 100644 --- a/test/array.cpp +++ b/test/array.cpp
@@ -87,8 +87,8 @@ Index rows = m.rows(); Index cols = m.cols(); - 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); ArrayType m1 = ArrayType::Random(rows, cols), m2 = ArrayType::Random(rows, cols),