diff options
author | 2015-10-21 09:47:43 +0200 | |
---|---|---|
committer | 2015-10-21 09:47:43 +0200 | |
commit | 896126588997f89d647ec857a4dd832e462a013b (patch) | |
tree | fe93f7da5bca5c1d41d0f0fff6208df530f27c25 /Eigen/src/SparseCore/SparseVector.h | |
parent | fe630c98739186c1dd3faf7a06b52a64baa5ea23 (diff) |
bug #1064: add support for Ref<SparseVector>
Diffstat (limited to 'Eigen/src/SparseCore/SparseVector.h')
-rw-r--r-- | Eigen/src/SparseCore/SparseVector.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Eigen/src/SparseCore/SparseVector.h b/Eigen/src/SparseCore/SparseVector.h index f941fa5e1..94f8d0341 100644 --- a/Eigen/src/SparseCore/SparseVector.h +++ b/Eigen/src/SparseCore/SparseVector.h @@ -235,6 +235,9 @@ class SparseVector inline SparseVector(const SparseMatrixBase<OtherDerived>& other) : m_size(0) { + #ifdef EIGEN_SPARSE_CREATE_TEMPORARY_PLUGIN + EIGEN_SPARSE_CREATE_TEMPORARY_PLUGIN + #endif check_template_parameters(); *this = other.derived(); } |