diff --git a/test/sparse_basic.cpp b/test/sparse_basic.cpp index f36fcb36d..6a3e19105 100644 --- a/test/sparse_basic.cpp +++ b/test/sparse_basic.cpp @@ -245,16 +245,16 @@ template void sparse_basic(const SparseMatrixType& re m3.insertByOuterInner(j,k) = k+1; for(int j=0; j0) - VERIFY(j==m3.innerVector(j).lastCoeff()); + VERIFY(j==internal::real(m3.innerVector(j).lastCoeff())); } m3.makeCompressed(); for(int j=0; j0) - VERIFY(j==m3.innerVector(j).lastCoeff()); + VERIFY(j==internal::real(m3.innerVector(j).lastCoeff())); } //m2.innerVector(j0) = 2*m2.innerVector(j1);