aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/src
diff options
context:
space:
mode:
Diffstat (limited to 'unsupported/Eigen/src')
-rw-r--r--unsupported/Eigen/src/SparseExtra/MarketIO.h2
1 files changed, 1 insertions, 1 deletions
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";