From 4716040703be1ee906439385d20475dcddad5ce3 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 25 Oct 2010 10:15:22 -0400 Subject: bug #86 : use internal:: namespace instead of ei_ prefix --- test/triangular.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/triangular.cpp') diff --git a/test/triangular.cpp b/test/triangular.cpp index bf5db4e27..0c69749e0 100644 --- a/test/triangular.cpp +++ b/test/triangular.cpp @@ -88,7 +88,7 @@ template void triangular_square(const MatrixType& m) m1 = MatrixType::Random(rows, cols); for (int i=0; i(); + while (internal::abs2(m1(i,i))<1e-1) m1(i,i) = internal::random(); Transpose trm4(m4); // test back and forward subsitution with a vector as the rhs @@ -239,8 +239,8 @@ void test_triangular() { for(int i = 0; i < g_repeat ; i++) { - int r = ei_random(2,20); EIGEN_UNUSED_VARIABLE(r); - int c = ei_random(2,20); EIGEN_UNUSED_VARIABLE(c); + int r = internal::random(2,20); EIGEN_UNUSED_VARIABLE(r); + int c = internal::random(2,20); EIGEN_UNUSED_VARIABLE(c); CALL_SUBTEST_1( triangular_square(Matrix()) ); CALL_SUBTEST_2( triangular_square(Matrix()) ); -- cgit v1.2.3