mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-25 15:53:19 +08:00
compress loaded market matrix
This commit is contained in:
parent
daad446d5d
commit
f6cd3389a2
@ -184,7 +184,7 @@ bool loadMarket(SparseMatrixType& mat, const std::string& filename)
|
|||||||
std::cerr << "Invalid read: " << i << "," << j << "\n";
|
std::cerr << "Invalid read: " << i << "," << j << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
mat.makeCompressed();
|
||||||
if(count!=NNZ)
|
if(count!=NNZ)
|
||||||
std::cerr << count << "!=" << NNZ << "\n";
|
std::cerr << count << "!=" << NNZ << "\n";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user