mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-28 06:44:10 +08:00
parent
125cc9a5df
commit
2e8f850c78
@ -1086,7 +1086,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