fix: docs bug

This commit is contained in:
NunoSempere 2022-09-06 23:44:34 +02:00
parent 6f10b276e9
commit ad32921ed0

View File

@ -80,7 +80,7 @@ Danger.optimalAllocationGivenDiminishingMarginalReturnsForManyFunctions: (array<
Example: Example:
```js ```js
Danger.optimalAllocationGivenDiminishingMarginalReturnsForManyFunctions({|x| 20-x}, {|y| 10}, 100, 0.01) Danger.optimalAllocationGivenDiminishingMarginalReturnsForManyFunctions([{|x| 20-x}, {|y| 10}], 100, 0.01)
``` ```
Note also that the array ought to have more than one function in it. Note also that the array ought to have more than one function in it.