diff --git a/src/components/DistBuilder.re b/src/components/DistBuilder.re index c58fcd11..4899086f 100644 --- a/src/components/DistBuilder.re +++ b/src/components/DistBuilder.re @@ -151,7 +151,6 @@ module DemoDist = { kernelWidth: options.kernelWidth, }, ~distPlusIngredients, - ~shouldDownsample=options.downsampleTo |> E.O.isSome, ~recommendedLength=options.downsampleTo |> E.O.default(1000), ~inputVariables= [|("p", `SymbolicDist(`Float(1.0)))|] diff --git a/src/distPlus/renderers/DistPlusRenderer.re b/src/distPlus/renderers/DistPlusRenderer.re index 5028590e..e4547b50 100644 --- a/src/distPlus/renderers/DistPlusRenderer.re +++ b/src/distPlus/renderers/DistPlusRenderer.re @@ -3,6 +3,7 @@ module Inputs = { let defaultRecommendedLength = 10000; let defaultShouldDownsample = true; + type ingredients = { guesstimatorString: string, domain: DistTypes.domain, @@ -27,14 +28,12 @@ module Inputs = { distPlusIngredients: ingredients, samplingInputs: RenderTypes.ShapeRenderer.Sampling.inputs, recommendedLength: int, - shouldDownsample: bool, inputVariables: Belt.Map.String.t(ExpressionTypes.ExpressionTree.node), }; let make = ( ~samplingInputs=RenderTypes.ShapeRenderer.Sampling.Inputs.empty, ~recommendedLength=defaultRecommendedLength, - ~shouldDownsample=defaultShouldDownsample, ~distPlusIngredients, ~inputVariables=[||]->Belt.Map.String.fromArray, (), @@ -43,7 +42,6 @@ module Inputs = { distPlusIngredients, samplingInputs, recommendedLength, - shouldDownsample, inputVariables, }; }; diff --git a/src/interface/FormBuilder.re b/src/interface/FormBuilder.re index 9fa67fed..030edb28 100644 --- a/src/interface/FormBuilder.re +++ b/src/interface/FormBuilder.re @@ -22,7 +22,6 @@ let propValue = (t: Prop.Value.t) => { DistPlusRenderer.Inputs.make( ~distPlusIngredients=r, ~recommendedLength=10000, - ~shouldDownsample=true, (), ) |> DistPlusRenderer.run;