Commit b68d8fc2 by Jason Rhinelander

*Really* fix enumeration indices

parent 38d5b456
...@@ -1098,15 +1098,15 @@ pybind11 will automatically and transparently convert ...@@ -1098,15 +1098,15 @@ pybind11 will automatically and transparently convert
1. Static and dynamic Eigen dense vectors and matrices to instances of 1. Static and dynamic Eigen dense vectors and matrices to instances of
``numpy.ndarray`` (and vice versa). ``numpy.ndarray`` (and vice versa).
1. Returned matrix expressions such as blocks (including columns or rows) and 2. Returned matrix expressions such as blocks (including columns or rows) and
diagonals will be converted to ``numpy.ndarray`` of the expression diagonals will be converted to ``numpy.ndarray`` of the expression
values. values.
2. Returned matrix-like objects such as Eigen::DiagonalMatrix or 3. Returned matrix-like objects such as Eigen::DiagonalMatrix or
Eigen::SelfAdjointView will be converted to ``numpy.ndarray`` containing the Eigen::SelfAdjointView will be converted to ``numpy.ndarray`` containing the
expressed value. expressed value.
3. Eigen sparse vectors and matrices to instances of 4. Eigen sparse vectors and matrices to instances of
``scipy.sparse.csr_matrix``/``scipy.sparse.csc_matrix`` (and vice versa). ``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. This makes it possible to bind most kinds of functions that rely on these types.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment