Removed unused downsampleTo
This commit is contained in:
parent
8fdb54f0df
commit
d2a17f9f1a
|
@ -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)))|]
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
};
|
||||
|
|
|
@ -22,7 +22,6 @@ let propValue = (t: Prop.Value.t) => {
|
|||
DistPlusRenderer.Inputs.make(
|
||||
~distPlusIngredients=r,
|
||||
~recommendedLength=10000,
|
||||
~shouldDownsample=true,
|
||||
(),
|
||||
)
|
||||
|> DistPlusRenderer.run;
|
||||
|
|
Loading…
Reference in New Issue
Block a user