Skip to content

Commit 0f48c6d

Browse files
Rename throw_if_alphabet_not_duplicate_free -> throw_if_alphabet_has_duplicates
1 parent 7723380 commit 0f48c6d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/source/data-structures/presentations/present.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ Contents
4343
PresentationStrings.letter
4444
PresentationStrings.remove_generator
4545
PresentationStrings.rules
46+
PresentationStrings.throw_if_alphabet_has_duplicates
4647
PresentationStrings.throw_if_bad_alphabet_or_rules
47-
PresentationStrings.throw_if_alphabet_not_duplicate_free
48-
PresentationStrings.throw_if_letter_not_in_alphabet
4948
PresentationStrings.throw_if_bad_rules
49+
PresentationStrings.throw_if_letter_not_in_alphabet
5050

5151
Full API
5252
--------

src/present.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ order of letters to be a-zA-Z0-9.
133133
maximum number of letters supported by :ref:`Letter<pseudo_letter_type_class>`.
134134
135135
.. seealso::
136-
* :any:`throw_if_alphabet_not_duplicate_free`
136+
* :any:`throw_if_alphabet_has_duplicates`
137137
* :any:`throw_if_bad_rules`
138138
* :any:`throw_if_bad_alphabet_or_rules`
139139
)pbdoc");
@@ -292,16 +292,16 @@ position *i*.
292292
R"pbdoc(
293293
Check if the alphabet and rules are valid.
294294
295-
:raises LibsemigroupsError: if :any:`throw_if_alphabet_not_duplicate_free` or
295+
:raises LibsemigroupsError: if :any:`throw_if_alphabet_has_duplicates` or
296296
:any:`throw_if_bad_rules` does.
297297
298298
:complexity: Worst case :math:`O(mnp)` where :math:`m` is the length of
299299
length of the word, :math:`n` is the size of the alphabet and :math:`p` is
300300
the number of rules.)pbdoc");
301301
thing.def(
302-
"throw_if_alphabet_not_duplicate_free",
302+
"throw_if_alphabet_has_duplicates",
303303
[](Presentation_ const& self) {
304-
return self.throw_if_alphabet_not_duplicate_free();
304+
return self.throw_if_alphabet_has_duplicates();
305305
},
306306
R"pbdoc(
307307
Check if the alphabet is valid.
@@ -1320,7 +1320,7 @@ Set the inverse of each letter in the alphabet.
13201320
13211321
.. seealso::
13221322
1323-
* :any:`PresentationStrings.throw_if_alphabet_not_duplicate_free`
1323+
* :any:`PresentationStrings.throw_if_alphabet_has_duplicates`
13241324
* :any:`presentation.throw_if_bad_inverses`
13251325
13261326
)pbdoc");

0 commit comments

Comments
 (0)