Fix a typo in SparseMatrix documentation.

This fixes issue #2091.

(cherry picked from commit 2e8f850c78ab3280451548e7b05535ec531b0e42)
This commit is contained in:
David Tellenbach 2020-12-09 14:48:24 +01:00
parent 0fd6b4f71d
commit a36d19c4fc

View File

@ -974,7 +974,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(...)
{
// ...