From 20114d9a845e658935613bd69414ce138c703106 Mon Sep 17 00:00:00 2001 From: Quinn Dougherty Date: Mon, 11 Jul 2022 14:23:58 -0400 Subject: [PATCH] Made new test call polymorphic constructor #ToFloat --- .../squiggle-lang/__tests__/Distributions/Symbolic_test.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/squiggle-lang/__tests__/Distributions/Symbolic_test.res b/packages/squiggle-lang/__tests__/Distributions/Symbolic_test.res index ae4faec2..976ee09f 100644 --- a/packages/squiggle-lang/__tests__/Distributions/Symbolic_test.res +++ b/packages/squiggle-lang/__tests__/Distributions/Symbolic_test.res @@ -85,7 +85,7 @@ describe("(Symbolic) mean", () => { let betaDistribution = SymbolicDist.Beta.fromMeanAndStdev(mean, stdev) let meanValue = betaDistribution->E.R2.fmap(d => - run(FromDist(ToFloat(#Mean), d->DistributionTypes.Symbolic)) + run(FromDist(#ToFloat(#Mean), d->DistributionTypes.Symbolic)) ) switch meanValue { | Ok(value) => value->unpackFloat->expect->toBeCloseTo(mean)