diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-10-25 10:15:22 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-10-25 10:15:22 -0400 |
commit | 4716040703be1ee906439385d20475dcddad5ce3 (patch) | |
tree | 8efd3cf3007d8360e66f38e2d280127cbb70daa6 /test/cholesky.cpp | |
parent | ca85a1f6c5fc33ac382aa2d7ba2da63d55d3223e (diff) |
bug #86 : use internal:: namespace instead of ei_ prefix
Diffstat (limited to 'test/cholesky.cpp')
-rw-r--r-- | test/cholesky.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/cholesky.cpp b/test/cholesky.cpp index 46140bb11..0a0424aa1 100644 --- a/test/cholesky.cpp +++ b/test/cholesky.cpp @@ -78,7 +78,7 @@ template<typename MatrixType> void cholesky(const MatrixType& m) //symm.template part<StrictlyLower>().setZero(); #ifdef HAS_GSL -// if (ei_is_same_type<RealScalar,double>::ret) +// if (internal::is_same_type<RealScalar,double>::ret) // { // typedef GslTraits<Scalar> Gsl; // typename Gsl::Matrix gMatA=0, gSymm=0; @@ -128,7 +128,7 @@ template<typename MatrixType> void cholesky(const MatrixType& m) // LDLT { - int sign = ei_random<int>()%2 ? 1 : -1; + int sign = internal::random<int>()%2 ? 1 : -1; if(sign == -1) { @@ -226,7 +226,7 @@ template<typename MatrixType> void cholesky_cplx(const MatrixType& m) // LDLT { - int sign = ei_random<int>()%2 ? 1 : -1; + int sign = internal::random<int>()%2 ? 1 : -1; if(sign == -1) { @@ -273,9 +273,9 @@ void test_cholesky() CALL_SUBTEST_3( cholesky(Matrix2d()) ); CALL_SUBTEST_4( cholesky(Matrix3f()) ); CALL_SUBTEST_5( cholesky(Matrix4d()) ); - s = ei_random<int>(1,200); + s = internal::random<int>(1,200); CALL_SUBTEST_2( cholesky(MatrixXd(s,s)) ); - s = ei_random<int>(1,100); + s = internal::random<int>(1,100); CALL_SUBTEST_6( cholesky_cplx(MatrixXcd(s,s)) ); } |