mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
Update MarketIO.h
This commit is contained in:
parent
52a2fbbb00
commit
98bfc5aaa8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user