FriesischScott / UncertaintyQuantification.jl

Uncertainty Quantification in Julia
MIT License
31 stars 11 forks source link

probabilityoffailure_impreciseprobabilities fails when simulations are all safe or all failure #161

Closed andreaperin closed 5 months ago

andreaperin commented 6 months ago

Evaluating pf with one or more imprecise inputs alwasys return an output pf that is a Interval. When all the simulations are in safe (or failed) state the check on the lower/upper bounds of the Interval struct fails. A solution could be returning a single value pf when the 2 buonds are equal.

FriesischScott commented 5 months ago

The imprecise code isn't even released yet. You should put this in the PR so we (you) can fix it before merging.