Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

congruence by pairs error #33

Open
joshp112358 opened this issue Mar 11, 2020 · 0 comments
Open

congruence by pairs error #33

joshp112358 opened this issue Mar 11, 2020 · 0 comments

Comments

@joshp112358
Copy link
Contributor

This happens

In [1]: from libsemigroups_cppyy import CongruenceByPairs, FroidurePin, Transfor
...: mation

In [2]: S = FroidurePin(Transformation([1,2,3,0]), Transformation([1,0,2,3]))

In [3]: C_right = CongruenceByPairs("right",S)
hai

TypeError Traceback (most recent call last)
in
----> 1 C_right = CongruenceByPairs("right",S)

~/Desktop/libsemigroups_cppyy/libsemigroups_cppyy/cong_pair.py in CongruenceByPairs(t, S)
30 raise TypeError('Expected one of "right", "left", or "twosided"')
31 cp_type = cppyy.gbl.libsemigroups.CongruenceByPairs(type(S).element_type)
---> 32 return cppyy.gbl.make[type(S)](pj, S)

TypeError: Could not instantiate make<libsemigroups::FroidurePin<libsemigroups::Transformation,libsemigroups::FroidurePinTraits<libsemigroups::Transformation > >>:
Failed to instantiate "make<libsemigroups::FroidurePin<libsemigroups::Transformation,libsemigroups::FroidurePinTraits<libsemigroups::Transformation > >>(int,libsemigroups::FroidurePin<libsemigroups::Transformation,libsemigroups::FroidurePinTraits<libsemigroups::Transformation > >&)"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant