Skip to content

Commit

Permalink
Use a more descriptive variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannis-vm committed Oct 28, 2024
1 parent 3544f03 commit b201aaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pelicun/uq.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,8 +841,8 @@ def fit_distribution_to_sample( # noqa: C901

# There is nothing to gain from a time-consuming optimization if..
# the number of samples is too small
small_n_samples = 3
if (n_samples < small_n_samples) or (
min_sample_size_for_optimization = 3
if (n_samples < min_sample_size_for_optimization) or (
# there are no truncation or detection limits involved
np.all(np.isnan(tr_limits)) and np.all(np.isnan(det_limits))
):
Expand Down

0 comments on commit b201aaf

Please sign in to comment.