From 871698d3aa3e125561226a08bee9aa2db5dec6aa Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Sat, 6 Feb 2010 17:43:32 +0100 Subject: Introduced NestParentByRefBit and NestByRefBit - this should fix temporaries related to nested products. Fixed a few typos and a few warnings. --- Eigen/src/Sparse/SparseVector.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Eigen/src/Sparse/SparseVector.h') diff --git a/Eigen/src/Sparse/SparseVector.h b/Eigen/src/Sparse/SparseVector.h index 5ac3f6be7..13b4f75a6 100644 --- a/Eigen/src/Sparse/SparseVector.h +++ b/Eigen/src/Sparse/SparseVector.h @@ -46,19 +46,12 @@ struct ei_traits > ColsAtCompileTime = IsColVector ? 1 : Dynamic, MaxRowsAtCompileTime = RowsAtCompileTime, MaxColsAtCompileTime = ColsAtCompileTime, - Flags = _Options, + Flags = _Options | NestByRefBit, CoeffReadCost = NumTraits::ReadCost, SupportedAccessPatterns = InnerRandomAccessPattern }; }; -template -struct ei_ref_selector< SparseVector<_Scalar, _Options> > -{ - typedef SparseVector<_Scalar, _Options> MatrixType; - typedef MatrixType const& type; -}; - template class SparseVector : public SparseMatrixBase > -- cgit v1.2.3