Skip to content

Commit 57438f8

Browse files
Try to fix MacOS runners
1 parent 3168a9e commit 57438f8

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

src/present.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,7 @@
3232
#include <libsemigroups/word-range.hpp> // for operator+
3333

3434
// pybind11....
35-
#include <pybind11/cast.h> // for arg
36-
37-
PYBIND11_MAKE_OPAQUE(std::vector<std::string>);
38-
PYBIND11_MAKE_OPAQUE(std::vector<libsemigroups::word_type>);
39-
35+
#include <pybind11/cast.h> // for arg
4036
#include <pybind11/detail/common.h> // for const_, overload_cast, ove...
4137
#include <pybind11/detail/descr.h> // for operator+
4238
#include <pybind11/functional.h> // for std::function conversion
@@ -48,6 +44,9 @@ PYBIND11_MAKE_OPAQUE(std::vector<libsemigroups::word_type>);
4844
// libsemigroups_pybind11....
4945
#include "main.hpp" // for init_present
5046

47+
PYBIND11_MAKE_OPAQUE(std::vector<std::string>);
48+
PYBIND11_MAKE_OPAQUE(std::vector<libsemigroups::word_type>);
49+
5150
namespace libsemigroups {
5251
namespace py = pybind11;
5352

@@ -1764,7 +1763,7 @@ defined in the alphabet, and that the inverses act as semigroup inverses.
17641763
* :any:`presentation.throw_if_bad_inverses`
17651764
)pbdoc");
17661765
} // bind_inverse_present
1767-
} // namespace
1766+
} // namespace
17681767

17691768
void init_present(py::module& m) {
17701769
bind_vector<word_type>(m, "RulesWord");

0 commit comments

Comments
 (0)