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/smallvectors.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/smallvectors.cpp') diff --git a/test/smallvectors.cpp b/test/smallvectors.cpp index 3496733e2..458b79ce7 100644 --- a/test/smallvectors.cpp +++ b/test/smallvectors.cpp @@ -32,10 +32,10 @@ template void smallVectors() typedef Matrix V2; typedef Matrix V3; typedef Matrix V4; - Scalar x1 = random(), - x2 = random(), - x3 = random(), - x4 = random(); + Scalar x1 = ei_random(), + x2 = ei_random(), + x3 = ei_random(), + x4 = ei_random(); V2 v2(x1, x2); V3 v3(x1, x2, x3); V4 v4(x1, x2, x3, x4); -- cgit v1.2.3