Skip to content

Commit e04558e

Browse files
Joseph-Edwardsjames-d-mitchell
authored andcommitted
Fix ToddCoxeter init overloads
1 parent 782dd71 commit e04558e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/todd-coxeter.cpp

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ Default constructor. This function default constructs an uninitialised
255255
"init",
256256
[](ToddCoxeter& self) { return self.init(); },
257257
R"pbdoc(
258+
:sig=(self: ToddCoxeter) -> ToddCoxeter:
259+
:only-document-once:
258260
Re-initialize a ToddCoxeter instance. This function puts a
259261
:any:`ToddCoxeter` instance back into the state that it would have been
260262
in if it had just been newly default constructed.
@@ -374,7 +376,8 @@ semigroup.
374376
py::arg("knd"),
375377
py::arg("p"),
376378
R"pbdoc(
377-
:sig=(self: ToddCoxeter, knd: congruence_kind, p: Presentation) -> ToddCoxeter:
379+
:sig=(self: ToddCoxeter, knd: congruence_kind, p: PresentationStrings) -> ToddCoxeter:
380+
:only-document-once:
378381
379382
Re-initialize a ToddCoxeter instance.
380383
@@ -400,8 +403,8 @@ had been newly constructed from *knd* and *p*.
400403
py::arg("knd"),
401404
py::arg("p"),
402405
R"pbdoc(
403-
:sig=(self: ToddCoxeter, knd: congruence_kind, p: Presentation) -> ToddCoxeter:
404-
TODO(0) make this disappear
406+
:sig=(self: ToddCoxeter, knd: congruence_kind, p: PresentationStrings) -> ToddCoxeter:
407+
:only-document-once:
405408
)pbdoc");
406409
thing.def(
407410
"init",
@@ -412,6 +415,7 @@ TODO(0) make this disappear
412415
py::arg("tc"),
413416
R"pbdoc(
414417
:sig=(self: ToddCoxeter, knd: congruence_kind, tc: ToddCoxeter) -> ToddCoxeter:
418+
:only-document-once:
415419
416420
Re-initialize a ToddCoxeter instance.
417421
@@ -444,6 +448,7 @@ that it would have been in if it had just been newly constructed from
444448
py::arg("wg"),
445449
R"pbdoc(
446450
:sig=(self: ToddCoxeter, knd: congruence_kind, wg: WordGraph) -> ToddCoxeter:
451+
:only-document-once:
447452
448453
Re-initialize a ToddCoxeter instance.
449454

0 commit comments

Comments
 (0)