Skip to content

Commit 6d85938

Browse files
Joseph-Edwardsjames-d-mitchell
authored andcommitted
add_generating_pair is void
1 parent e14fa3e commit 6d85938

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/cong-common.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ number of classes in the congruence represented by a :any:`{name}` instance.
465465
using Word = typename Thing::native_word_type;
466466
thing.def(
467467
"add_generating_pair",
468-
[](Thing& self, Word const& u, Word const& v) -> Thing& {
469-
return congruence_common::add_generating_pair(self, u, v);
468+
[](Thing& self, Word const& u, Word const& v) {
469+
congruence_common::add_generating_pair(self, u, v);
470470
},
471471
py::arg("u"),
472472
py::arg("v"),

src/cong.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ individual algorithms, such as :any:`KambitesMultiStringView`,
6464
>>> is_obviously_infinite(cong)
6565
True
6666
>>> cong.add_generating_pair([1, 1, 1], [])
67-
<Congruence over <monoid presentation with 2 letters, 1 rule, and length 2> with 4 runners>
6867
>>> cong.number_of_classes()
6968
3
7069
>>> is_obviously_infinite(cong)

0 commit comments

Comments
 (0)