From 9764a4cab8a799602590c11b5a230f3c7da3f35c Mon Sep 17 00:00:00 2001 From: Quinn Dougherty Date: Thu, 7 Apr 2022 20:13:08 -0400 Subject: [PATCH] one last CR comment --- .../__tests__/Distributions/Samples_test.res | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/squiggle-lang/__tests__/Distributions/Samples_test.res b/packages/squiggle-lang/__tests__/Distributions/Samples_test.res index 6da9efe3..db80f9f7 100644 --- a/packages/squiggle-lang/__tests__/Distributions/Samples_test.res +++ b/packages/squiggle-lang/__tests__/Distributions/Samples_test.res @@ -26,16 +26,16 @@ describe("Continuous and discrete splits", () => { E.A.concatMany([sorted, sorted, sorted, sorted]) |> Belt.SortArray.stableSortBy(_, compare) } - let (_, discrete) = SampleSet.Internals.T.splitContinuousAndDiscrete( + let (_, discrete1) = SampleSet.Internals.T.splitContinuousAndDiscrete( makeDuplicatedArray(10), ) - let toArr = discrete |> E.FloatFloatMap.toArray - makeTest("splitMedium at count=10", toArr |> Belt.Array.length, 10) + let toArr1 = discrete1 |> E.FloatFloatMap.toArray + makeTest("splitMedium at count=10", toArr1 |> Belt.Array.length, 10) - let (_c, discrete) = SampleSet.Internals.T.splitContinuousAndDiscrete( + let (_c, discrete2) = SampleSet.Internals.T.splitContinuousAndDiscrete( makeDuplicatedArray(500), ) - let toArr = discrete |> E.FloatFloatMap.toArray - makeTest("splitMedium at count=500", toArr |> Belt.Array.length, 500) + let toArr2 = discrete2 |> E.FloatFloatMap.toArray + makeTest("splitMedium at count=500", toArr2 |> Belt.Array.length, 500) })