a couple of fixes after thye merge

This commit is contained in:
Gael Guennebaud
2009-12-23 09:07:01 +01:00
parent eaaba30cac
commit fcc3be5dce
7 changed files with 24 additions and 9 deletions

View File

@@ -144,7 +144,9 @@ SparseSelfAdjointView<MatrixType,UpLo>::rankUpdate(const MatrixBase<DerivedU>& u
template<typename Lhs, typename Rhs, int UpLo>
struct ei_traits<SparseSelfAdjointTimeDenseProduct<Lhs,Rhs,UpLo> >
: ei_traits<ProductBase<SparseSelfAdjointTimeDenseProduct<Lhs,Rhs,UpLo>, Lhs, Rhs> >
{};
{
typedef Dense StorageType;
};
template<typename Lhs, typename Rhs, int UpLo>
class SparseSelfAdjointTimeDenseProduct

View File

@@ -155,4 +155,15 @@ template<typename T> class ei_eval<T,Sparse>
typedef SparseMatrix<_Scalar, _Flags> type;
};
template<typename T> struct ei_plain_matrix_type<T,Sparse>
{
typedef typename ei_traits<T>::Scalar _Scalar;
enum {
_Flags = ei_traits<T>::Flags
};
public:
typedef SparseMatrix<_Scalar, _Flags> type;
};
#endif // EIGEN_SPARSEUTIL_H