| 290 | public: |
| 291 | BrokenMatrix(py::ssize_t rows, py::ssize_t cols) : Matrix(rows, cols) {} |
| 292 | void throw_runtime_error() { throw std::runtime_error("See PR #5324 for context."); } |
| 293 | }; |
| 294 | py::class_<BrokenMatrix>(m, "BrokenMatrix", py::buffer_protocol()) |
| 295 | .def(py::init<py::ssize_t, py::ssize_t>()) |