diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-12-04 21:15:46 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-12-04 21:15:46 +0100 |
commit | 69966e90e12c0c9eef4f370945e23fcc943ee8a6 (patch) | |
tree | 52683306258c28fdb6513f8db367ce6ecc2cfb19 /Eigen/src/SparseCore | |
parent | 5dc9650f11cea2024db72d45535d40d62c6d1834 (diff) |
fix bug #221: remove the dense to SparseVector conversion ctor.
Diffstat (limited to 'Eigen/src/SparseCore')
-rw-r--r-- | Eigen/src/SparseCore/SparseVector.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Eigen/src/SparseCore/SparseVector.h b/Eigen/src/SparseCore/SparseVector.h index 53647af99..741768109 100644 --- a/Eigen/src/SparseCore/SparseVector.h +++ b/Eigen/src/SparseCore/SparseVector.h @@ -206,13 +206,6 @@ class SparseVector inline SparseVector(Index rows, Index cols) : m_size(0) { resize(rows,cols); } template<typename OtherDerived> - inline SparseVector(const MatrixBase<OtherDerived>& other) - : m_size(0) - { - *this = other.derived(); - } - - template<typename OtherDerived> inline SparseVector(const SparseMatrixBase<OtherDerived>& other) : m_size(0) { |