From ee14a47bd62eee1f049a1595b8fdf20dc25149b9 Mon Sep 17 00:00:00 2001 From: Sam Nolan Date: Tue, 12 Jul 2022 15:29:50 +1000 Subject: [PATCH] Fix failing floating point test --- .../ReducerInterface/ReducerInterface_Distribution_test.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/squiggle-lang/__tests__/ReducerInterface/ReducerInterface_Distribution_test.res b/packages/squiggle-lang/__tests__/ReducerInterface/ReducerInterface_Distribution_test.res index ecc07bfa..645d7ce0 100644 --- a/packages/squiggle-lang/__tests__/ReducerInterface/ReducerInterface_Distribution_test.res +++ b/packages/squiggle-lang/__tests__/ReducerInterface/ReducerInterface_Distribution_test.res @@ -58,7 +58,7 @@ describe("eval on distribution functions", () => { describe("subtract", () => { testEval("10 - normal(5, 1)", "Ok(Normal(5,1))") testEval("normal(5, 1) - 10", "Ok(Normal(-5,1))") - testEval("mean(1 - toPointSet(normal(5, 2)))", "Ok(-4.002309896304692)") + testEval("mean(1 - toPointSet(normal(5, 2)))", "Ok(-4.002309896304693)") }) describe("multiply", () => { testEval("normal(10, 2) * 2", "Ok(Normal(20,4))")