aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SparseCore/SparseUtil.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-06-20 15:42:13 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-06-20 15:42:13 +0200
commitc415b627a7edcf89ceac2121f57824196be9c215 (patch)
tree97fccb1732b06a74cabbe56709fb310ca4c95c13 /Eigen/src/SparseCore/SparseUtil.h
parent78bb80833708615c330659d9b64870b19185df37 (diff)
Started to move the SparseCore module to evaluators: implemented assignment and cwise-unary evaluator
Diffstat (limited to 'Eigen/src/SparseCore/SparseUtil.h')
-rw-r--r--Eigen/src/SparseCore/SparseUtil.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Eigen/src/SparseCore/SparseUtil.h b/Eigen/src/SparseCore/SparseUtil.h
index 05023858b..e23576572 100644
--- a/Eigen/src/SparseCore/SparseUtil.h
+++ b/Eigen/src/SparseCore/SparseUtil.h
@@ -133,6 +133,12 @@ template<typename T> struct plain_matrix_type<T,Sparse>
typedef SparseMatrix<_Scalar, _Options, _Index> type;
};
+template<typename Derived>
+struct generic_xpr_base<Derived, MatrixXpr, Sparse>
+{
+ typedef SparseMatrixBase<Derived> type;
+};
+
} // end namespace internal
/** \ingroup SparseCore_Module