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/lu.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'test/lu.cpp') diff --git a/test/lu.cpp b/test/lu.cpp index 8cb3cbbee..eac7c1ee6 100644 --- a/test/lu.cpp +++ b/test/lu.cpp @@ -37,7 +37,7 @@ template void lu_non_invertible() Index rows, cols, cols2; if(MatrixType::RowsAtCompileTime==Dynamic) { - rows = ei_random(2,200); + rows = internal::random(2,200); } else { @@ -45,8 +45,8 @@ template void lu_non_invertible() } if(MatrixType::ColsAtCompileTime==Dynamic) { - cols = ei_random(2,200); - cols2 = ei_random(2,200); + cols = internal::random(2,200); + cols2 = internal::random(2,200); } else { @@ -57,14 +57,14 @@ template void lu_non_invertible() RowsAtCompileTime = MatrixType::RowsAtCompileTime, ColsAtCompileTime = MatrixType::ColsAtCompileTime }; - typedef typename ei_kernel_retval_base >::ReturnType KernelMatrixType; - typedef typename ei_image_retval_base >::ReturnType ImageMatrixType; + typedef typename internal::kernel_retval_base >::ReturnType KernelMatrixType; + typedef typename internal::image_retval_base >::ReturnType ImageMatrixType; typedef Matrix CMatrixType; typedef Matrix RMatrixType; - Index rank = ei_random(1, std::min(rows, cols)-1); + Index rank = internal::random(1, std::min(rows, cols)-1); // The image of the zero matrix should consist of a single (zero) column vector VERIFY((MatrixType::Zero(rows,cols).fullPivLu().image(MatrixType::Zero(rows,cols)).cols() == 1)); @@ -117,7 +117,7 @@ template void lu_invertible() */ typedef typename MatrixType::Scalar Scalar; typedef typename NumTraits::Real RealScalar; - int size = ei_random(1,200); + int size = internal::random(1,200); MatrixType m1(size, size), m2(size, size), m3(size, size); FullPivLU lu; @@ -149,7 +149,7 @@ template void lu_partial_piv() typedef typename MatrixType::Index Index; typedef typename MatrixType::Scalar Scalar; typedef typename NumTraits::Real RealScalar; - Index rows = ei_random(1,4); + Index rows = internal::random(1,4); Index cols = rows; MatrixType m1(cols, rows); -- cgit v1.2.3