mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-17 18:18:04 +00:00
[CodeFactor] Apply fixes to commit 9697fac
This commit is contained in:
@@ -108,8 +108,8 @@ public sealed class Binomdist : AbstractBase
|
||||
ser += LanczosCoeff[k] / (x + k);
|
||||
}
|
||||
|
||||
return 0.5 * Math.Log(2.0 * Math.PI)
|
||||
+ (x + 0.5) * Math.Log(t)
|
||||
return (0.5 * Math.Log(2.0 * Math.PI))
|
||||
+ ((x + 0.5) * Math.Log(t))
|
||||
- t
|
||||
+ Math.Log(ser);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user