Misc. typos
Most are non-user facing. Hope this is not too annoying of a PR.
Used `codespell -d -q 3 --skip="*.po,*.ts,./.git,./external"` to locate typos
Former-commit-id: dc31807ff5
This commit is contained in:
@@ -100,7 +100,7 @@ py::class_<Type> bind_eigen_2(py::module &m, const char *name) {
|
||||
.def("rows", [](const Type &m) { return m.rows(); })
|
||||
.def("shape", [](const Type &m) { return std::tuple<int,int>(m.rows(), m.cols()); })
|
||||
|
||||
/* Extract rows and colums */
|
||||
/* Extract rows and columns */
|
||||
.def("col", [](const Type &m, int i) {
|
||||
if (i<0 || i>=m.cols())
|
||||
throw std::runtime_error("Column index out of bound.");
|
||||
|
||||
Reference in New Issue
Block a user