haskell / statistics

A fast, high quality library for computing with statistics in Haskell.
http://hackage.haskell.org/package/statistics
BSD 2-Clause "Simplified" License
300 stars 68 forks source link

Test failure "Discrete CDF" #170

Closed peti closed 2 years ago

peti commented 4 years ago

Citing from https://hydra.nixos.org/build/125291260:

      Discrete CDF is OK:                                                                    FAIL
        *** Failed! Falsified (after 66 tests):
        binomial 89 0.9998382714932255
        N=  3    p[i]=0.0       p[i+1]=1.023e-321       dP=0.0  relerr=1.0
        N=  4    p[i]=1.023e-321        p[i+1]=1.3622614e-316   dP=1.32609764e-316      relerr=2.653936291108837e-2

        Use --quickcheck-replay=282145 to reproduce.
Shimuuar commented 2 years ago

Fixed in #178