Skip to content

Commit

Permalink
Remove ReversiblePaths
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-mitchell committed Feb 27, 2025
1 parent aea3740 commit fc4d91a
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 488 deletions.
1 change: 0 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ def no_doc_run(self):
],
"FroidurePinPBR": [(r"\bPBR\b", "Element")],
"SchreierSimsPerm1": [(r"\bPerm1\b", "Element")],
"ReversiblePaths": [(r"\bPaths\b", "ReversiblePaths")],
}

# This is what sphinx considers to be a signature
Expand Down
40 changes: 0 additions & 40 deletions docs/source/data-structures/word-graph/paths/reversible-paths.rst

This file was deleted.

2 changes: 1 addition & 1 deletion libsemigroups_pybind11/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@

# The following are imported from path since we modify the methods count and max
# to return the POSITIVE_INFINITY object where applicable.
from .paths import Paths, ReversiblePaths
from .paths import Paths
from .todd_coxeter import ToddCoxeter

# The following fools sphinx into thinking that MatrixKind is not an alias.
Expand Down
4 changes: 0 additions & 4 deletions libsemigroups_pybind11/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,10 @@

from _libsemigroups_pybind11 import (
Paths,
ReversiblePaths,
)

from .detail.decorators import may_return_positive_infinity


Paths.count = may_return_positive_infinity(Paths.count)
Paths.max = may_return_positive_infinity(Paths.max)

ReversiblePaths.count = may_return_positive_infinity(ReversiblePaths.count)
ReversiblePaths.max = may_return_positive_infinity(ReversiblePaths.max)
Loading

0 comments on commit fc4d91a

Please sign in to comment.