Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
8908552d
Commit
8908552d
authored
Apr 27, 2020
by
Guilherme Dantas
Committed by
Wenzel Jakob
Jul 01, 2020
Browse files
typo
parent
d031efe7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/advanced/pycpp/numpy.rst
docs/advanced/pycpp/numpy.rst
+1
-1
No files found.
docs/advanced/pycpp/numpy.rst
View file @
8908552d
...
@@ -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 a
n
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).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment