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

Construction of transformation doesn't complete with fixed points. #10

Open
hivert opened this issue Jan 13, 2020 · 1 comment
Open

Comments

@hivert
Copy link
Contributor

hivert commented Jan 13, 2020

Python 3.6.9 (default, Nov  7 2019, 10:44:02) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from libsemigroups_cppyy import Transformation
>>> Transformation([9, 3, 1, 2, 0, 8, 1, 2, 0, 5])
Transformation([9, 3, 1, 2, 0, 8, 1, 2, 0, 5, 0, 0, 0, 0, 0, 0])

This should be

Transformation([9, 3, 1, 2, 0, 8, 1, 2, 0, 5, 10, 11, 12, 13, 14, 15])

In HPCombi

PTransf16({}) == PTransf16::one();
@hivert
Copy link
Contributor Author

hivert commented Jan 14, 2020

It seem to be a strange behavior of CPPYY. Worked around in #11

I reported the problem on

https://bitbucket.org/wlav/cppyy/issues/191/cppyy-does-not-take-the-direct-constructor

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