From 484ed3bbe23445f0cbc0f0890d2a35c3a0723b17 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 12 Jan 2009 12:52:36 +0000 Subject: fix a warning in test/sparse.h --- test/sparse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/sparse.h') diff --git a/test/sparse.h b/test/sparse.h index 310e976f2..d3891ff75 100644 --- a/test/sparse.h +++ b/test/sparse.h @@ -58,7 +58,7 @@ initSparse(double density, std::vector* zeroCoords = 0, std::vector* nonzeroCoords = 0) { - sparseMat.startFill(refMat.rows()*refMat.cols()*density); + sparseMat.startFill(int(refMat.rows()*refMat.cols()*density)); for(int j=0; j