fix: tiny bug
This commit is contained in:
parent
468ecc05e3
commit
cd41459887
|
@ -142,7 +142,7 @@ let multiplyContinuousContinuous = (
|
||||||
let absX = Js.Math.abs_float(x)
|
let absX = Js.Math.abs_float(x)
|
||||||
if absX > epsilonForIgnoreInIntegral {
|
if absX > epsilonForIgnoreInIntegral {
|
||||||
let deltaYi =
|
let deltaYi =
|
||||||
getApproximatePdfOfS1AtPoint(x) *. getApproximatePdfOfS2AtPoint(z /. x) *. (1 /. x)
|
getApproximatePdfOfS1AtPoint(x) *. getApproximatePdfOfS2AtPoint(z /. x) *. (1.0 /. x)
|
||||||
newYs[i] = newYs[i] +. deltaYi
|
newYs[i] = newYs[i] +. deltaYi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user