Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 0f1100bc authored by ZIMMERMANN Paul's avatar ZIMMERMANN Paul
Browse files

simplify the logic in get_curve_from_random_parameter()

If the random sigma value fails, then try the next one (sigma+1),
and so on, instead of drawing a new random value. For small n,
this will avoid failures (for n=5, the probability of failure
with param=1 goes down from 1/150 to 0).
parent 8c927a17
No related branches found
No related tags found
No related merge requests found
Pipeline #997714 passed