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