Fix warning 41

This commit is contained in:
Sam Nolan 2022-04-21 17:30:39 -04:00
parent f731bcb027
commit 10d9d8bc37
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
},
"refmt": 3,
"warnings": {
"number": "+A-42-48-9-30-4-102-20-27-41"
"number": "+A-42-48-9-30-4-102-20-27"
},
"ppx-flags": [
["../../node_modules/bisect_ppx/ppx", "--exclude-files", ".*_test\\.res$$"]

View File

@ -53,7 +53,7 @@ module T = Distributions.Dist({
// This bit is kind of awkward, could probably use rethinking.
let integral = (t: t) => updateShape(Continuous(t.integralCache), t)
let updateIntegralCache = (integralCache: option<PointSetTypes.continuousShape>, t) =>
let updateIntegralCache = (integralCache: option<PointSetTypes.continuousShape>, t: t) =>
update(~integralCache=E.O.default(t.integralCache, integralCache), t)
let downsample = (i, t): t => updateShape(t |> toPointSetDist |> PointSetDist.T.downsample(i), t)