Restore internal math functions for unit tests
diff --git a/test/sparse_basic.cpp b/test/sparse_basic.cpp
index ad06e87..121cc05 100644
--- a/test/sparse_basic.cpp
+++ b/test/sparse_basic.cpp
@@ -179,16 +179,16 @@
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);