From 6907886a156c4b94ec7530351b271e1c1bc5b81b Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Thu, 28 Feb 2008 12:38:12 +0000 Subject: prefix global functions with ei_ as previous solution was rather fragile. also fix compilation with g++ 4.3. --- test/miscmatrices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/miscmatrices.cpp') diff --git a/test/miscmatrices.cpp b/test/miscmatrices.cpp index 42f808b1a..70e77403d 100644 --- a/test/miscmatrices.cpp +++ b/test/miscmatrices.cpp @@ -39,7 +39,7 @@ template void miscMatrices(const MatrixType& m) int rows = m.rows(); int cols = m.cols(); - int r = random(0, rows-1), r2 = random(0, rows-1), c = random(0, cols-1); + int r = ei_random(0, rows-1), r2 = ei_random(0, rows-1), c = ei_random(0, cols-1); VERIFY_IS_APPROX(MatrixType::ones(rows,cols)(r,c), static_cast(1)); MatrixType m1 = MatrixType::ones(rows,cols); VERIFY_IS_APPROX(m1(r,c), static_cast(1)); -- cgit v1.2.3