wrap #Cauchy
in Ok
This commit is contained in:
parent
5875880c06
commit
4631c183d9
|
@ -86,7 +86,7 @@ module Exponential = {
|
|||
|
||||
module Cauchy = {
|
||||
type t = cauchy
|
||||
let make = (local, scale): symbolicDist => #Cauchy({local: local, scale: scale})
|
||||
let make = (local, scale): symbolicDist => Ok(#Cauchy({local: local, scale: scale}))
|
||||
let pdf = (x, t: t) => Jstat.Cauchy.pdf(x, t.local, t.scale)
|
||||
let cdf = (x, t: t) => Jstat.Cauchy.cdf(x, t.local, t.scale)
|
||||
let inv = (p, t: t) => Jstat.Cauchy.inv(p, t.local, t.scale)
|
||||
|
|
Loading…
Reference in New Issue
Block a user