Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
# Setup environment
- uses: actions/checkout@v6
- name: Create micromamba environment . . .
uses: mamba-org/setup-micromamba@v2
uses: mamba-org/setup-micromamba@v3
with:
environment-name: libsemigroups
cache-environment: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

# Used to host cibuildwheel
- name: Build wheel
uses: pypa/cibuildwheel@v3.4.0
uses: pypa/cibuildwheel@v3.4.1
with:
output-dir: wheelhouse
- uses: actions/upload-artifact@v7
Expand Down
4 changes: 2 additions & 2 deletions docs/source/main-algorithms/congruence/to-cong.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,12 @@ trivial congruence over the word graph *wg*.
>>> wg = WordGraph(7, [[1, 2], [1, 3], [4, 2], [5, 3], [4, 6], [5, 3], [4, 6]])
>>> cong = to(congruence_kind.twosided, wg, rtype=(Congruence, list[int]))
>>> cong.add_generating_pair([0], [1])
<1-sided Congruence over <semigroup presentation with 2 letters, 0 rules, and length 0> with 1 gen. pair, 1 runners>
<2-sided Congruence over <semigroup presentation with 2 letters, 0 rules, and length 0> with 1 gen. pair, 1 runners>
>>> cong.number_of_classes()
1

>>> cong = to(congruence_kind.twosided, wg, rtype=(Congruence, str))
>>> cong.add_generating_pair("a", "b")
<1-sided Congruence over <semigroup presentation with 2 letters, 0 rules, and length 0> with 1 gen. pair, 1 runners>
<2-sided Congruence over <semigroup presentation with 2 letters, 0 rules, and length 0> with 1 gen. pair, 1 runners>
>>> cong.number_of_classes()
1
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ pybtex==0.25.1
# sphinxcontrib-bibtex
pybtex-docutils==1.0.3
# via sphinxcontrib-bibtex
pygments==2.19.2
pygments==2.20.0
# via
# pytest
# sphinx
pytest==8.4.2
# via libsemigroups_pybind11 (pyproject.toml)
pyyaml==6.0.3
# via pybtex
requests==2.32.5
requests==2.33.0
# via sphinx
roman-numerals-py==3.1.0
# via sphinx
Expand Down
1 change: 0 additions & 1 deletion tests/test_cong.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ def test_has_get():
c = Congruence(congruence_kind.twosided, p)

assert c.number_of_runners() <= 4
assert c.has(Kambites)
k = c.get(Kambites)

c.run()
Expand Down
Loading