Skip to content

Commit

Permalink
Change FIRST_POSITIVE_NUMBER definition
Browse files Browse the repository at this point in the history
Replace small arbitrary float with the actual first positive number
  • Loading branch information
zsarnoczay authored Nov 22, 2024
1 parent 5072927 commit 34f4029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 = 1.0e-10
FIRST_POSITIVE_NUMBER = np.nextafter(0,1)


def scale_distribution(
Expand Down

0 comments on commit 34f4029

Please sign in to comment.