brentp / fishers_exact_test

Fishers Exact Test for Python (Cython)
BSD 3-Clause "New" or "Revised" License
62 stars 21 forks source link

OverflowError: value too large to convert to int #34

Open zhangrengang opened 2 years ago

zhangrengang commented 2 years ago
Traceback (most recent call last):
  File "Stats.py", line 16, in fisher_test
    try: pval = fisher.pvalue(x11, x12, x21, x22).right_tail
  File "src/cfisher.pyx", line 86, in cfisher.pvalue
OverflowError: value too large to convert to int

An example of x11, x12, x21, x22: (1, 78, 1406551982, 2642326796)