aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/linearstructure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/linearstructure.cpp')
-rw-r--r--test/linearstructure.cpp8
1 files changed, 4 insertions, 4 deletions
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<typename MatrixType> void linearStructure(const MatrixType& m)
v2 = VectorType::random(rows),
vzero = VectorType::zero(rows);
- Scalar s1 = random<Scalar>(),
- s2 = random<Scalar>();
+ Scalar s1 = ei_random<Scalar>(),
+ s2 = ei_random<Scalar>();
- int r = random<int>(0, rows-1),
- c = random<int>(0, cols-1);
+ int r = ei_random<int>(0, rows-1),
+ c = ei_random<int>(0, cols-1);
VERIFY_IS_APPROX(-(-m1), m1);
VERIFY_IS_APPROX(m1+m1, 2*m1);