mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-02 18:20:38 +08:00
Fix a typo in SparseMatrix documentation.
This fixes issue #2091. (cherry picked from commit 2e8f850c78ab3280451548e7b05535ec531b0e42)
This commit is contained in:
parent
0fd6b4f71d
commit
a36d19c4fc
@ -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(...)
|
||||||
{
|
{
|
||||||
// ...
|
// ...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user