mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-24 14:45:14 +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";
|
||||
}
|
||||
}
|
||||
|
||||
mat.makeCompressed();
|
||||
if(count!=NNZ)
|
||||
std::cerr << count << "!=" << NNZ << "\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user