eslint
This commit is contained in:
parent
d85cd58acd
commit
597c6efc9b
91 changed files with 2224 additions and 1400 deletions
|
|
@ -605,7 +605,7 @@ function erf(x: number): number {
|
|||
*/
|
||||
function boxMullerTransform(): number {
|
||||
let u1 = Math.random();
|
||||
let u2 = Math.random();
|
||||
const u2 = Math.random();
|
||||
|
||||
// Ensure u1 is not zero
|
||||
while (u1 === 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue