mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix a typo in SparseMatrix documentation.
This fixes issue #2091.
(cherry picked from commit 2e8f850c78)
This commit is contained in:
@@ -974,7 +974,7 @@ void set_from_triplets(const InputIterator& begin, const InputIterator& end, Spa
|
|||||||
* \code
|
* \code
|
||||||
typedef Triplet<double> T;
|
typedef Triplet<double> T;
|
||||||
std::vector<T> tripletList;
|
std::vector<T> tripletList;
|
||||||
triplets.reserve(estimation_of_entries);
|
tripletList.reserve(estimation_of_entries);
|
||||||
for(...)
|
for(...)
|
||||||
{
|
{
|
||||||
// ...
|
// ...
|
||||||
|
|||||||
Reference in New Issue
Block a user