aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/product_syrk.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-10-25 10:15:22 -0400
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-10-25 10:15:22 -0400
commit4716040703be1ee906439385d20475dcddad5ce3 (patch)
tree8efd3cf3007d8360e66f38e2d280127cbb70daa6 /test/product_syrk.cpp
parentca85a1f6c5fc33ac382aa2d7ba2da63d55d3223e (diff)
bug #86 : use internal:: namespace instead of ei_ prefix
Diffstat (limited to 'test/product_syrk.cpp')
-rw-r--r--test/product_syrk.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/product_syrk.cpp b/test/product_syrk.cpp
index 575b21cac..951a254ed 100644
--- a/test/product_syrk.cpp
+++ b/test/product_syrk.cpp
@@ -39,11 +39,11 @@ template<typename MatrixType> void syrk(const MatrixType& m)
MatrixType m1 = MatrixType::Random(rows, cols),
m2 = MatrixType::Random(rows, cols);
- Rhs1 rhs1 = Rhs1::Random(ei_random<int>(1,320), cols);
- Rhs2 rhs2 = Rhs2::Random(rows, ei_random<int>(1,320));
- Rhs3 rhs3 = Rhs3::Random(ei_random<int>(1,320), rows);
+ Rhs1 rhs1 = Rhs1::Random(internal::random<int>(1,320), cols);
+ Rhs2 rhs2 = Rhs2::Random(rows, internal::random<int>(1,320));
+ Rhs3 rhs3 = Rhs3::Random(internal::random<int>(1,320), rows);
- Scalar s1 = ei_random<Scalar>();
+ Scalar s1 = internal::random<Scalar>();
m2.setZero();
VERIFY_IS_APPROX((m2.template selfadjointView<Lower>().rankUpdate(rhs2,s1)._expression()),
@@ -75,13 +75,13 @@ void test_product_syrk()
for(int i = 0; i < g_repeat ; i++)
{
int s;
- s = ei_random<int>(1,320);
+ s = internal::random<int>(1,320);
CALL_SUBTEST_1( syrk(MatrixXf(s, s)) );
- s = ei_random<int>(1,320);
+ s = internal::random<int>(1,320);
CALL_SUBTEST_2( syrk(MatrixXd(s, s)) );
- s = ei_random<int>(1,200);
+ s = internal::random<int>(1,200);
CALL_SUBTEST_3( syrk(MatrixXcf(s, s)) );
- s = ei_random<int>(1,200);
+ s = internal::random<int>(1,200);
CALL_SUBTEST_4( syrk(MatrixXcd(s, s)) );
}
}