From 8908552dfce61cc4d0d428c402b416c28283cb9c Mon Sep 17 00:00:00 2001 From: Guilherme Dantas Date: Mon, 27 Apr 2020 17:19:17 -0300 Subject: [PATCH] typo --- docs/advanced/pycpp/numpy.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced/pycpp/numpy.rst b/docs/advanced/pycpp/numpy.rst index 458f99e97..3d9c90cb4 100644 --- a/docs/advanced/pycpp/numpy.rst +++ b/docs/advanced/pycpp/numpy.rst @@ -67,7 +67,7 @@ specification. 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 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 (``Eigen::MatrixXd``) type, which supports initialization from compatible buffer objects (e.g. a NumPy matrix).