From a25749ade9ee4c97fab5a801314a733a8a6a6e30 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sat, 12 Jun 2010 01:01:12 +0200 Subject: [PATCH] add missing overload of operator= in SparseVector --- Eigen/src/Sparse/SparseVector.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Eigen/src/Sparse/SparseVector.h b/Eigen/src/Sparse/SparseVector.h index dd81b749e..2c3fb8450 100644 --- a/Eigen/src/Sparse/SparseVector.h +++ b/Eigen/src/Sparse/SparseVector.h @@ -245,6 +245,14 @@ class SparseVector return Base::operator=(other); } + #ifndef EIGEN_PARSED_BY_DOXYGEN + template + inline SparseVector& operator=(const SparseProduct& product) + { + return Base::operator=(product); + } + #endif + // const bool needToTranspose = (Flags & RowMajorBit) != (OtherDerived::Flags & RowMajorBit); // if (needToTranspose) // {