Commits

Aleksey Khudyakov committed 5412bd8

Add ContGen instance for CauchyLorentz

Comments (0)

Files changed (1)

Statistics/Distribution/CauchyLorentz.hs

     | p == 1         =  1 / 0
     | otherwise      =
       error $ "Statistics.Distribution.CauchyLorentz..quantile: p must be in [0,1] range. Got: "++show p
+
+instance D.ContGen CauchyDistribution where
+  genContVar = D.genContinous