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

congruence by pairs error #33

Description

@joshp112358

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 > >&)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions