Fix compilation of some tests as well as more warnings.

This commit is contained in:
Hauke Heibel
2010-06-20 18:59:15 +02:00
parent f1679c7185
commit cb11f2f8a6
6 changed files with 24 additions and 22 deletions

View File

@@ -87,8 +87,8 @@ template<typename ArrayType> void comparisons(const ArrayType& m)
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),