birkhoff
birkhoff copied to clipboard
Seems a bug for new version of numpy
For the latest version of numpy (1.19.0 at 2022.7), the code can not get a result. I check the code, and find that the line 62 in the birkhoff.py ( print(list(zip(*(matches.items())))) ) seems don't work correctly.
When replace the "list" with "tuple", it works well. (The line 62 is "print(tuple(zip(*(matches.items()))))").