• Ansgar Burchardt's avatar
    correct stride in matrix example and test · a22dd2d1
    Ansgar Burchardt authored
    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).
    a22dd2d1
test_buffers.cpp 6.02 KB