diff options
author | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2013-06-11 14:31:31 +0200 |
---|---|---|
committer | Desire NUENTSA <desire.nuentsa_wakam@inria.fr> | 2013-06-11 14:31:31 +0200 |
commit | b3fff170a01433f64fa0c6e38a368f375183d28c (patch) | |
tree | f97724cf5f067eaf2e9e741f19912d9f625d3190 /test | |
parent | 18e476107e5b1b38d3e13888f2afda6b1a8b6a87 (diff) |
Restore internal math functions for unit tests
Diffstat (limited to 'test')
-rw-r--r-- | test/sparse_basic.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/sparse_basic.cpp b/test/sparse_basic.cpp index ad06e87ba..121cc05b1 100644 --- a/test/sparse_basic.cpp +++ b/test/sparse_basic.cpp @@ -179,16 +179,16 @@ template<typename SparseMatrixType> void sparse_basic(const SparseMatrixType& re m3.insertByOuterInner(j,k) = k+1; for(int j=0; j<rows; ++j) { - VERIFY(j==math::real(m3.innerVector(j).nonZeros())); + VERIFY(j==internal::real(m3.innerVector(j).nonZeros())); if(j>0) - VERIFY(j==math::real(m3.innerVector(j).lastCoeff())); + VERIFY(j==internal::real(m3.innerVector(j).lastCoeff())); } m3.makeCompressed(); for(int j=0; j<rows; ++j) { - VERIFY(j==math::real(m3.innerVector(j).nonZeros())); + VERIFY(j==internal::real(m3.innerVector(j).nonZeros())); if(j>0) - VERIFY(j==math::real(m3.innerVector(j).lastCoeff())); + VERIFY(j==internal::real(m3.innerVector(j).lastCoeff())); } //m2.innerVector(j0) = 2*m2.innerVector(j1); |