fixed lint
This commit is contained in:
parent
c101cdac18
commit
806ba86446
|
@ -2,3 +2,5 @@ dist
|
||||||
lib
|
lib
|
||||||
*.bs.js
|
*.bs.js
|
||||||
*.gen.tsx
|
*.gen.tsx
|
||||||
|
.nyc_output/
|
||||||
|
coverage/
|
||||||
|
|
|
@ -86,8 +86,9 @@ module Exponential = {
|
||||||
|
|
||||||
module Cauchy = {
|
module Cauchy = {
|
||||||
type t = cauchy
|
type t = cauchy
|
||||||
let make = (local, scale): result<symbolicDist, string> =>
|
let make = (local, scale): result<symbolicDist, string> => Ok(
|
||||||
Ok(#Cauchy({local: local, scale: scale}))
|
#Cauchy({local: local, scale: scale}),
|
||||||
|
)
|
||||||
let pdf = (x, t: t) => Jstat.Cauchy.pdf(x, t.local, t.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 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)
|
let inv = (p, t: t) => Jstat.Cauchy.inv(p, t.local, t.scale)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user