aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SparseCore/SparseVector.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-10-21 09:47:43 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-10-21 09:47:43 +0200
commit896126588997f89d647ec857a4dd832e462a013b (patch)
treefe93f7da5bca5c1d41d0f0fff6208df530f27c25 /Eigen/src/SparseCore/SparseVector.h
parentfe630c98739186c1dd3faf7a06b52a64baa5ea23 (diff)
bug #1064: add support for Ref<SparseVector>
Diffstat (limited to 'Eigen/src/SparseCore/SparseVector.h')
-rw-r--r--Eigen/src/SparseCore/SparseVector.h3
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();
}