We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7884fb commit b50c372Copy full SHA for b50c372
src/stdlib/ext/dist-ext.mc
@@ -205,7 +205,7 @@ let betabinPmf = lam n:Int. lam a: Float. lam b: Float. lam x:Int.
205
206
-- Reciprocal (or log uniform) distribution)
207
let reciprocalSample : Float -> Float -> Float = lam a. lam b.
208
- let logSample = uniformContinuousSample (log a) (log a) in
+ let logSample = uniformContinuousSample (log a) (log b) in
209
exp logSample
210
211
let reciprocalPdf : Float -> Float -> Float -> Float = lam a. lam b. lam x.
0 commit comments