From 0e5ae580dcd2018346e25c7797606be58f8aa757 Mon Sep 17 00:00:00 2001 From: Adam Zsarnoczay <33822153+zsarnoczay@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:50:50 -0800 Subject: [PATCH] Fix format issues for ruff --- pelicun/uq.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pelicun/uq.py b/pelicun/uq.py index f5d044e7..ade8a215 100644 --- a/pelicun/uq.py +++ b/pelicun/uq.py @@ -57,7 +57,7 @@ from pelicun.base import Logger colorama.init() -FIRST_POSITIVE_NUMBER = np.nextafter(0,1) +FIRST_POSITIVE_NUMBER = np.nextafter(0, 1) def scale_distribution( @@ -1426,10 +1426,10 @@ def _ensure_positive_probability_difference( Parameters ---------- p_b: float - The probability of not exceeding the upper truncation limit + The probability of not exceeding the upper truncation limit based on the CDF of the random variable. p_a: float - The probability of not exceeding the lower truncation limit + The probability of not exceeding the lower truncation limit based on the CDF of the random variable. Raises