diff options
author | 2010-06-02 13:32:13 +0200 | |
---|---|---|
committer | 2010-06-02 13:32:13 +0200 | |
commit | 8710bd23e7a3727af31e539bfbe039ab3d07fedd (patch) | |
tree | 8dde9afe6b76d165b138d3061857e39582e2c1d5 /Eigen/src/Sparse/SparseProduct.h | |
parent | 143e6ab9d0a86407763e3608ef60f8c9c69a33fd (diff) |
clean the ambiguity with insertBack and add a insertBackByOuterInner function
Diffstat (limited to 'Eigen/src/Sparse/SparseProduct.h')
-rw-r--r-- | Eigen/src/Sparse/SparseProduct.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Sparse/SparseProduct.h b/Eigen/src/Sparse/SparseProduct.h index fb53902f4..1cb676132 100644 --- a/Eigen/src/Sparse/SparseProduct.h +++ b/Eigen/src/Sparse/SparseProduct.h @@ -265,7 +265,7 @@ static void ei_sparse_product_impl(const Lhs& lhs, const Rhs& rhs, ResultType& r } res.startVec(j); for (typename AmbiVector<Scalar>::Iterator it(tempVector); it; ++it) - res.insertBack(j,it.index()) = it.value(); + res.insertBackByOuterInner(j,it.index()) = it.value(); } res.finalize(); } |