Fix a typo in SparseMatrix documentation.

This fixes issue #2091.
This commit is contained in:
David Tellenbach 2020-12-09 14:48:24 +01:00
parent 125cc9a5df
commit 2e8f850c78

View File

@ -1086,7 +1086,7 @@ void set_from_triplets(const InputIterator& begin, const InputIterator& end, Spa
* \code
typedef Triplet<double> T;
std::vector<T> tripletList;
triplets.reserve(estimation_of_entries);
tripletList.reserve(estimation_of_entries);
for(...)
{
// ...