@@ -689,8 +689,7 @@ Returns the word :math:`x^{-1}y^{-1}xy`. The letter ``a`` with index ``i`` in
689689 Word const & alphabet,
690690 Word const & inverses,
691691 typename Presentation_::letter_type id) {
692- return presentation::add_commutator_rule (
693- p, x, y, alphabet, inverses, id);
692+ presentation::add_commutator_rule (p, x, y, alphabet, inverses, id);
694693 },
695694 py::arg (" p" ),
696695 py::arg (" x" ),
@@ -745,7 +744,7 @@ word.
745744 Word const & y,
746745 Word const & inverses,
747746 typename Presentation_::letter_type id) {
748- return presentation::add_commutator_rule (p, x, y, inverses, id);
747+ presentation::add_commutator_rule (p, x, y, inverses, id);
749748 },
750749 py::arg (" p" ),
751750 py::arg (" x" ),
@@ -794,7 +793,7 @@ empty word.
794793 Word const & x,
795794 Word const & y,
796795 typename Presentation_::letter_type id) {
797- return presentation::add_commutator_rule (p, x, y, id);
796+ presentation::add_commutator_rule (p, x, y, id);
798797 },
799798 py::arg (" p" ),
800799 py::arg (" x" ),
@@ -1540,7 +1539,7 @@ checks that :math:`v_i = x_j`, and therefore that :math:`(x_i^{-1})^{-1} = x_i`.
15401539
15411540 m.def (
15421541 " presentation_balance" ,
1543- [](Presentation<Word>& p) { return presentation::balance (p); },
1542+ [](Presentation<Word>& p) { presentation::balance (p); },
15441543 py::arg (" p" ),
15451544 R"pbdoc(
15461545:sig=(p: Presentation) -> None:
@@ -1568,7 +1567,7 @@ an exception is thrown.
15681567 m.def (
15691568 " presentation_balance" ,
15701569 [](Presentation<Word>& p, Word const & inverses) {
1571- return presentation::balance (p, inverses);
1570+ presentation::balance (p, inverses);
15721571 },
15731572 py::arg (" p" ),
15741573 py::arg (" inverses" ),
@@ -1601,7 +1600,7 @@ parameter is defined to be ``p.alphabet()``.
16011600 m.def (
16021601 " presentation_balance" ,
16031602 [](Presentation<Word>& p, Word const & letters, Word const & inverses) {
1604- return presentation::balance (p, letters, inverses);
1603+ presentation::balance (p, letters, inverses);
16051604 },
16061605 py::arg (" p" ),
16071606 py::arg (" letters" ),
0 commit comments