Update MarketIO.h

This commit is contained in:
Cédric Hubert 2020-02-14 19:35:30 +00:00
parent 52a2fbbb00
commit 98bfc5aaa8

View File

@ -163,7 +163,7 @@ bool loadMarket(SparseMatrixType& mat, const std::string& filename)
{
std::stringstream line(buffer);
line >> M >> N >> NNZ;
if(M > 0 && N > 0 && NNZ > 0)
if(M > 0 && N > 0)
{
readsizes = true;
mat.resize(M,N);