equinor / fmu-tools

fmu-tools is a library containing tools for pre- and post-processing in a Fast Model Update (FMU) context
https://equinor.github.io/fmu-tools/
GNU Lesser General Public License v3.0
9 stars 14 forks source link

fmudesign: pert distribution sometimes fail for symmetrical distributions #183

Closed tralsos closed 1 year ago

tralsos commented 1 year ago

For symmetrical pert distributions another equation is used then for skewed distributions. Whether the equations is symmetrical is tested by comparing the expected value and the mode value. This is a float comparison that sometimes fail due to numerical precision.