Skip to content

Commit baed33c

Browse files
Fix for changes in C++
1 parent 93b3a41 commit baed33c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/forest.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ then node ``i`` is a root node.
218218
)pbdoc");
219219
thing.def(
220220
"path_to_root",
221-
[](Forest const& self, node_type i) { return self.path_to_root(i); },
221+
[](Forest const& self, node_type i) {
222+
return forest::path_to_root(self, i);
223+
},
222224
py::arg("i"),
223225
R"pbdoc(
224226
Returns a list containing the labels of the edges on the path from a root node

tests/test_presentation_examples.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ def check_full_transformation_monoid(ns, ftm_implementation):
5050

5151
def check_symmetric_inverse_monoid(sim_implementation):
5252
ReportGuard(False)
53-
n = 6
53+
n = 5
5454
p = sim_implementation(n)
5555
p.validate()
5656

5757
tc = ToddCoxeter(congruence_kind.twosided, p)
58-
assert tc.number_of_classes() == 13327
58+
assert tc.number_of_classes() == 1546
5959

6060

6161
def test_semigroup_status():

0 commit comments

Comments
 (0)