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
39b9e04b
"docs/vscode:/vscode.git/clone" did not exist on "03f627ebb1884e3f532d96707454cc3051eb98bd"
Commit
39b9e04b
authored
May 26, 2017
by
chenzy
Committed by
Jason Rhinelander
May 26, 2017
Browse files
Correct error in numpy.rst
parent
eee4f4fc
Changes
1
Show 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 @
39b9e04b
...
...
@@ -99,7 +99,7 @@ buffer objects (e.g. a NumPy matrix).
info.strides[rowMajor ? 1 : 0] / (py::ssize_t)sizeof(Scalar));
auto map = Eigen::Map<Matrix, 0, Strides>(
static_cat<Scalar *>(info.ptr), info.shape[0], info.shape[1], strides);
static_ca
s
t<Scalar *>(info.ptr), info.shape[0], info.shape[1], strides);
new (&m) Matrix(map);
});
...
...
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