diff options
Diffstat (limited to 'Eigen/src/Sparse/SparseMatrixBase.h')
-rw-r--r-- | Eigen/src/Sparse/SparseMatrixBase.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Eigen/src/Sparse/SparseMatrixBase.h b/Eigen/src/Sparse/SparseMatrixBase.h index c01981bc9..74506ad71 100644 --- a/Eigen/src/Sparse/SparseMatrixBase.h +++ b/Eigen/src/Sparse/SparseMatrixBase.h @@ -189,15 +189,15 @@ template<typename Derived> class SparseMatrixBase : public EigenBase<Derived> SparseMatrixBase() : m_isRValue(false) { /* TODO check flags */ } - inline Derived& operator=(const Derived& other) - { -// std::cout << "Derived& operator=(const Derived& other)\n"; -// if (other.isRValue()) -// derived().swap(other.const_cast_derived()); -// else - this->operator=<Derived>(other); - return derived(); - } +// inline Derived& operator=(const Derived& other) +// { +// // std::cout << "Derived& operator=(const Derived& other)\n"; +// // if (other.isRValue()) +// // derived().swap(other.const_cast_derived()); +// // else +// this->operator=<Derived>(other); +// return derived(); +// } template<typename OtherDerived> Derived& operator=(const ReturnByValue<OtherDerived>& other) |