From 67ae94f3a258644cba45c3426bf7f48f91dcc2e1 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 23 Dec 2011 09:41:14 +0100 Subject: [PATCH] fix compilation of sparse_basic unit test for complexes --- test/sparse_basic.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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);