From f6cd3389a2d22fda112890e479a4bd09c82fc6bb Mon Sep 17 00:00:00 2001 From: Desire NUENTSA Date: Thu, 22 Mar 2012 15:53:25 +0100 Subject: compress loaded market matrix --- unsupported/Eigen/src/SparseExtra/MarketIO.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unsupported/Eigen/src') diff --git a/unsupported/Eigen/src/SparseExtra/MarketIO.h b/unsupported/Eigen/src/SparseExtra/MarketIO.h index d23874d0a..4e2d5dc4e 100644 --- a/unsupported/Eigen/src/SparseExtra/MarketIO.h +++ b/unsupported/Eigen/src/SparseExtra/MarketIO.h @@ -184,7 +184,7 @@ bool loadMarket(SparseMatrixType& mat, const std::string& filename) std::cerr << "Invalid read: " << i << "," << j << "\n"; } } - + mat.makeCompressed(); if(count!=NNZ) std::cerr << count << "!=" << NNZ << "\n"; -- cgit v1.2.3