birkhoff icon indicating copy to clipboard operation
birkhoff copied to clipboard

Seems a bug for new version of numpy

Open FPGA-Networking opened this issue 3 years ago • 0 comments

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()))))").

FPGA-Networking avatar Jul 26 '22 07:07 FPGA-Networking