We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8891bee commit 41c4fc1Copy full SHA for 41c4fc1
1 file changed
src/present.cpp
@@ -1235,11 +1235,14 @@ are created by taking quotients of free semigroups or monoids.
1235
:returns: the GAP string.
1236
:rtype: str
1237
)pbdoc");
1238
- m.def("presentation_throw_if_bad_inverses",
1239
- &presentation::throw_if_bad_inverses<Word>,
1240
- py::arg("p"),
1241
- py::arg("vals"),
1242
- R"pbdoc(
+ m.def(
+ "presentation_throw_if_bad_inverses",
+ [](Presentation_ const& p, Word const& inverses) {
+ presentation::throw_if_bad_inverses(p, inverses);
+ },
1243
+ py::arg("p"),
1244
+ py::arg("vals"),
1245
+ R"pbdoc(
1246
:sig=(p: Presentation, vals: Word) -> None:
1247
:only-document-once:
1248
0 commit comments