nested Ok
because cauchy
requires no input validation
This commit is contained in:
parent
0540fef63a
commit
5875880c06
|
@ -149,7 +149,7 @@ module SymbolicConstructors = {
|
|||
| "uniform" => Ok(SymbolicDist.Uniform.make)
|
||||
| "beta" => Ok(SymbolicDist.Beta.make)
|
||||
| "lognormal" => Ok(SymbolicDist.Lognormal.make)
|
||||
| "cauchy" => Ok(SymbolicDist.Cauchy.make)
|
||||
| "cauchy" => Ok(Ok(SymbolicDist.Cauchy.make))
|
||||
| "to" => Ok(SymbolicDist.From90thPercentile.make)
|
||||
| _ => Error("Unreachable state")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user