mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Removed internal::as_argument. This fixes the alignment issues of bug #165.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user