From 7ee378d89da93d2556ba000f59783c4c0e32e9a0 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 12 Jul 2013 16:40:02 +0200 Subject: Fix various scalar type conversion warnings. --- test/sparse.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/sparse.h') diff --git a/test/sparse.h b/test/sparse.h index 1a5ceb38d..a09c65e5f 100644 --- a/test/sparse.h +++ b/test/sparse.h @@ -66,10 +66,10 @@ initSparse(double density, //sparseMat.reserve(int(refMat.rows()*refMat.cols()*density)); sparseMat.reserve(VectorXi::Constant(IsRowMajor ? refMat.rows() : refMat.cols(), int((1.5*density)*(IsRowMajor?refMat.cols():refMat.rows())))); - for(int j=0; j