There was an error while loading. Please reload this page.
1 parent 13a95b8 commit 492dc1fCopy full SHA for 492dc1f
1 file changed
src/schreier-sims.cpp
@@ -78,11 +78,14 @@ the list *gens*.
78
for this class, or the number of generators exceeds the maximum capacity.
79
)pbdoc");
80
81
- thing.def("__copy__",
82
- [](SchreierSims_ const& self) { return SchreierSims_(self); });
+ thing.def("__copy__", [](SchreierSims_ const& self) {
+ return std::make_unique<SchreierSims_>(self);
83
+ });
84
thing.def(
85
"copy",
- [](SchreierSims_ const& self) { return SchreierSims_(self); },
86
+ [](SchreierSims_ const& self) {
87
88
+ },
89
R"pbdoc(
90
:sig=(self: SchreierSims) -> SchreierSims:
91
0 commit comments