FisherExact icon indicating copy to clipboard operation
FisherExact copied to clipboard

Segmentation fault (core dumped)

Open WZo0o opened this issue 3 years ago • 1 comments

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?

WZo0o avatar Dec 10 '21 07:12 WZo0o

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.

maclandrol avatar Dec 10 '21 16:12 maclandrol