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/linearstructure.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/linearstructure.cpp') diff --git a/test/linearstructure.cpp b/test/linearstructure.cpp index 682315c7a..f1869f5d1 100644 --- a/test/linearstructure.cpp +++ b/test/linearstructure.cpp @@ -53,11 +53,11 @@ template void linearStructure(const MatrixType& m) v2 = VectorType::random(rows), vzero = VectorType::zero(rows); - Scalar s1 = random(), - s2 = random(); + Scalar s1 = ei_random(), + s2 = ei_random(); - int r = random(0, rows-1), - c = random(0, cols-1); + int r = ei_random(0, rows-1), + c = ei_random(0, cols-1); VERIFY_IS_APPROX(-(-m1), m1); VERIFY_IS_APPROX(m1+m1, 2*m1); -- cgit v1.2.3