From 38d5b4565c35e018b12796c4b182223bb6a7b1bc Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Thu, 4 Aug 2016 16:36:16 -0400 Subject: [PATCH] Fixed enumeration indices --- docs/advanced.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced.rst b/docs/advanced.rst index 27df2d896..6e431f771 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -1102,11 +1102,11 @@ pybind11 will automatically and transparently convert diagonals will be converted to ``numpy.ndarray`` of the expression values. -1. Returned matrix-like objects such as Eigen::DiagonalMatrix or +2. Returned matrix-like objects such as Eigen::DiagonalMatrix or Eigen::SelfAdjointView will be converted to ``numpy.ndarray`` containing the expressed value. -1. Eigen sparse vectors and matrices to instances of +3. Eigen sparse vectors and matrices to instances of ``scipy.sparse.csr_matrix``/``scipy.sparse.csc_matrix`` (and vice versa). This makes it possible to bind most kinds of functions that rely on these types.