From cae8f8cb653bfb12736ec44b85fec35ee51ffee0 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Mon, 5 Sep 2022 22:14:26 +0200 Subject: [PATCH] tweak: tested examples in playground --- .../src/rescript/FunctionRegistry/Library/FR_Danger.res | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/squiggle-lang/src/rescript/FunctionRegistry/Library/FR_Danger.res b/packages/squiggle-lang/src/rescript/FunctionRegistry/Library/FR_Danger.res index 5f4cce4a..ec40f7b7 100644 --- a/packages/squiggle-lang/src/rescript/FunctionRegistry/Library/FR_Danger.res +++ b/packages/squiggle-lang/src/rescript/FunctionRegistry/Library/FR_Danger.res @@ -567,7 +567,7 @@ let library = [ ~nameSpace, ~output=EvtArray, ~requiresNamespace=false, - ~examples=[`Danger.diminishingMarginalReturnsForFunctions2({|x| x+1}, {|y| 10}, 100, 0.01)`], + ~examples=[`Danger.diminishingMarginalReturnsForFunctions2({|x| 20-x}, {|y| 10}, 100, 0.01)`], ~definitions=[ FnDefinition.make( ~name="diminishingMarginalReturnsForFunctions2",