diff --git a/packages/squiggle-lang/src/rescript/ReducerInterface/ReducerInterface_GenericDistribution.res b/packages/squiggle-lang/src/rescript/ReducerInterface/ReducerInterface_GenericDistribution.res index 8b7a5cc4..8dae2586 100644 --- a/packages/squiggle-lang/src/rescript/ReducerInterface/ReducerInterface_GenericDistribution.res +++ b/packages/squiggle-lang/src/rescript/ReducerInterface/ReducerInterface_GenericDistribution.res @@ -120,7 +120,8 @@ module Helpers = { } let mixture = (args: array): DistributionOperation.outputType => { - let error = (err: string): DistributionOperation.outputType => err->DistributionTypes.ArgumentError->GenDistError + let error = (err: string): DistributionOperation.outputType => + err->DistributionTypes.ArgumentError->GenDistError switch args { | [EvArray(distributions)] => switch parseDistributionArray(distributions) {