diff --git a/Eigen/src/Sparse/SparseCwiseBinaryOp.h b/Eigen/src/Sparse/SparseCwiseBinaryOp.h index 1fc307b41..374d52fdf 100644 --- a/Eigen/src/Sparse/SparseCwiseBinaryOp.h +++ b/Eigen/src/Sparse/SparseCwiseBinaryOp.h @@ -117,14 +117,9 @@ template class SparseCwiseBinaryOp::InnerIterator : public ei_sparse_cwise_binary_op_inner_iterator_selector::InnerIterator> { + public: typedef ei_sparse_cwise_binary_op_inner_iterator_selector< BinaryOp,Lhs,Rhs, typename SparseCwiseBinaryOp::InnerIterator> Base; - public: - typedef typename SparseCwiseBinaryOp::Scalar Scalar; - typedef typename ei_traits::_LhsNested _LhsNested; - typedef typename _LhsNested::InnerIterator LhsIterator; - typedef typename ei_traits::_RhsNested _RhsNested; - typedef typename _RhsNested::InnerIterator RhsIterator; EIGEN_STRONG_INLINE InnerIterator(const SparseCwiseBinaryOp& binOp, int outer) : Base(binOp,outer)