Skip to content

Commit

Permalink
Fix format issues for ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
zsarnoczay authored Nov 22, 2024
1 parent 7d123e2 commit 0e5ae58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pelicun/uq.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0e5ae58

Please sign in to comment.