Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Segmentation fault (core dumped) #11

Open
WZo0o opened this issue Dec 10, 2021 · 1 comment
Open

Segmentation fault (core dumped) #11

WZo0o opened this issue Dec 10, 2021 · 1 comment

Comments

@WZo0o
Copy link

WZo0o commented Dec 10, 2021

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?

@maclandrol
Copy link
Owner

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants