mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
improve sparse permutations
This commit is contained in:
@@ -189,6 +189,7 @@ bool loadMarket(SparseMatrixType& mat, const std::string& filename)
|
||||
readsizes = true;
|
||||
mat.resize(M,N);
|
||||
mat.reserve(NNZ);
|
||||
elements.reserve(NNZ);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user