diff options
Diffstat (limited to 'unsupported/test/sparse_llt.cpp')
-rw-r--r-- | unsupported/test/sparse_llt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/test/sparse_llt.cpp b/unsupported/test/sparse_llt.cpp index 72a8382a1..2ec850ea0 100644 --- a/unsupported/test/sparse_llt.cpp +++ b/unsupported/test/sparse_llt.cpp @@ -45,7 +45,7 @@ template<typename Scalar> void sparse_llt(int rows, int cols) initSparse<Scalar>(density, refMat2, m2, ForceNonZeroDiag|MakeLowerTriangular, 0, 0); for(int i=0; i<rows; ++i) - m2.coeffRef(i,i) = refMat2(i,i) = ei_abs(ei_real(refMat2(i,i))); + m2.coeffRef(i,i) = refMat2(i,i) = internal::abs(internal::real(refMat2(i,i))); refX = refMat2.template selfadjointView<Lower>().llt().solve(b); if (!NumTraits<Scalar>::IsComplex) @@ -78,7 +78,7 @@ void test_sparse_llt() { for(int i = 0; i < g_repeat; i++) { CALL_SUBTEST_1(sparse_llt<double>(8, 8) ); - int s = ei_random<int>(1,300); + int s = internal::random<int>(1,300); CALL_SUBTEST_2(sparse_llt<std::complex<double> >(s,s) ); CALL_SUBTEST_1(sparse_llt<double>(s,s) ); } |