FisherExact
FisherExact copied to clipboard
Segmentation fault (core dumped)
This simple example fails with the Segmentation fault (core dumped)
Python 3.9.5 (default, Jun 4 2021, 12:28:51) Type 'copyright', 'credits' or 'license' for more information IPython 7.30.1 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import FisherExact
In [2]: FisherExact.fisher_exact([[38, 0, 49], [37, 0, 52]]) capi_return is NULL Call-back cb_f2pystop_in_prterr__user__routines failed. Segmentation fault (core dumped)
how can I fix this error?
Hello @WZo0o, can you try another python version ?
I will try to reproduce the error and come up with a fix this weekend, but the column summing to zero can be the issue.