libsemigroups / libsemigroups_pybind11

Python bindings for the libsemigroups C++ library for semigroups and monoids
https://libsemigroups.github.io/libsemigroups_pybind11
GNU General Public License v3.0
6 stars 7 forks source link

Handle returning `POSITIVE_INFINITY` in `Paths` #199

Closed Joseph-Edwards closed 6 days ago

Joseph-Edwards commented 6 days ago

This PR updates the Paths class. Specifically, it defines some decorators, one of which allows a function to return POSITIVE_INFINITY. Furthermore, it documents the classes of each of the constants we define, so that more types in function signatures get converted to URLs.

james-d-mitchell commented 6 days ago

Excellent thanks 🙏 @Joseph-Edwards