fixed lint

This commit is contained in:
Quinn Dougherty 2022-04-20 12:13:31 -04:00
parent c101cdac18
commit 806ba86446
2 changed files with 5 additions and 2 deletions

View File

@ -2,3 +2,5 @@ dist
lib lib
*.bs.js *.bs.js
*.gen.tsx *.gen.tsx
.nyc_output/
coverage/

View File

@ -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)