Open gspr opened 1 year ago
Hello,
i'm sorry but we do not maintain POT on 32bits processors so we will not fix i686 specific bugs. Of course if you or another contributor find a way to make code compatible for both 64 and 32 bits feel free to propose a PR.
I think this probably comes form default a size of int and long int in the C++ code.
Describe the bug
On the i386/i686 architecture, version 0.9.1's Gromov-Wasserstein test suite segfaults. It does not segfault on any other architecture I have tested on, nor does version 0.9.0 segfault on i386/i686.
To Reproduce
Steps to reproduce the behavior:
pytest test/test_gromov.py
and observe a segfault.Backtrace (POT 0.9.1 is installed system-wide):
Code sample
POT's own
test/test_gromov.py
suffices (see above).Expected behavior
Tests should pass, or even fail, but definitely not segfault.
Environment (please complete the following information):
python3.11 -m build --skip-dependency-check --no-isolation --wheel --outdir /home/foo/tmp/python-pot-0.9.1/tmp
Output of the suggested code snippet:
Additional context
Problem does not occur on other architectures. Problem does also not occur on i386/i686 in POT version 0.9.0.