Removed internal::as_argument. This fixes the alignment issues of bug #165.

This commit is contained in:
Hauke Heibel
2011-02-06 17:33:04 +01:00
parent 7ea6ac79a3
commit d975b82105
5 changed files with 9 additions and 64 deletions

View File

@@ -62,21 +62,6 @@ struct traits<SparseMatrix<_Scalar, _Options, _Index> >
};
};
template<typename _Scalar, int _Options, typename _Index>
struct as_argument<SparseMatrix<_Scalar, _Options, _Index> >
{
typedef SparseMatrix<_Scalar, _Options, _Index> MatrixType;
typedef MatrixType& type;
};
template<typename _Scalar, int _Options, typename _Index>
struct as_argument<const SparseMatrix<_Scalar, _Options, _Index> >
{
typedef SparseMatrix<_Scalar, _Options, _Index> MatrixType;
typedef const MatrixType& type;
};
} // end namespace internal
template<typename _Scalar, int _Options, typename _Index>