Skip to content

Commit 13c0807

Browse files
luzpazjagerman
authored andcommitted
Typo
1 parent 01fada7 commit 13c0807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_eigen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ TEST_SUBMODULE(eigen, m) {
124124
// This one accepts a matrix of any stride:
125125
m.def("add_any", [](py::EigenDRef<Eigen::MatrixXd> x, int r, int c, double v) { x(r,c) += v; });
126126

127-
// Return mutable references (numpy maps into eigen varibles)
127+
// Return mutable references (numpy maps into eigen variables)
128128
m.def("get_cm_ref", []() { return Eigen::Ref<Eigen::MatrixXd>(get_cm()); });
129129
m.def("get_rm_ref", []() { return Eigen::Ref<MatrixXdR>(get_rm()); });
130130
// The same references, but non-mutable (numpy maps into eigen variables, but is !writeable)

0 commit comments

Comments
 (0)