Commit 8908552d by Guilherme Dantas Committed by Wenzel Jakob

typo

parent d031efe7
...@@ -67,7 +67,7 @@ specification. ...@@ -67,7 +67,7 @@ specification.
To create a C++ function that can take a Python buffer object as an argument, To create a C++ function that can take a Python buffer object as an argument,
simply use the type ``py::buffer`` as one of its arguments. Buffers can exist simply use the type ``py::buffer`` as one of its arguments. Buffers can exist
in a great variety of configurations, hence some safety checks are usually in a great variety of configurations, hence some safety checks are usually
necessary in the function body. Below, you can see an basic example on how to necessary in the function body. Below, you can see a basic example on how to
define a custom constructor for the Eigen double precision matrix define a custom constructor for the Eigen double precision matrix
(``Eigen::MatrixXd``) type, which supports initialization from compatible (``Eigen::MatrixXd``) type, which supports initialization from compatible
buffer objects (e.g. a NumPy matrix). buffer objects (e.g. a NumPy matrix).
......
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