diff options
-rw-r--r-- | Eigen/src/Sparse/SparseMatrixBase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Sparse/SparseMatrixBase.h b/Eigen/src/Sparse/SparseMatrixBase.h index 468bc9e22..f20841ce1 100644 --- a/Eigen/src/Sparse/SparseMatrixBase.h +++ b/Eigen/src/Sparse/SparseMatrixBase.h @@ -84,9 +84,9 @@ template<typename Derived> class SparseMatrixBase const Derived& >::ret ConjugateReturnType; /** \internal the return type of MatrixBase::real() */ - typedef CwiseUnaryOp<ei_scalar_real_op<Scalar>, Derived> RealReturnType; + typedef SparseCwiseUnaryOp<ei_scalar_real_op<Scalar>, Derived> RealReturnType; /** \internal the return type of MatrixBase::imag() */ - typedef CwiseUnaryOp<ei_scalar_imag_op<Scalar>, Derived> ImagReturnType; + typedef SparseCwiseUnaryOp<ei_scalar_imag_op<Scalar>, Derived> ImagReturnType; /** \internal the return type of MatrixBase::adjoint() */ typedef SparseTranspose</*NestByValue<*/typename ei_cleantype<ConjugateReturnType>::type> /*>*/ AdjointReturnType; |