test_buffers.cpp
6.02 KB
-
correct stride in matrix example and test · a22dd2d1
This also matches the Eigen example for the row-major case. This also enhances one of the tests to trigger a failure (and fixes it in the PR). (This isn't really a flaw in pybind itself, but rather fixes wrong code in the test code and docs).
Ansgar Burchardt committed