Skip to content
Snippets Groups Projects
Commit c5d5d096 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

bugfix: do correct number of gap extensions in FillLoopsByMonteCarlo

parent 7102f985
No related branches found
No related tags found
No related merge requests found
......@@ -1047,7 +1047,7 @@ def FillLoopsByMonteCarlo(mhandle, torsion_sampler=None, max_loops_to_search=6,
ext_step = 0
first_iteration = True
while found_loops < max_loops_to_search and ext_step < max_extension:
while found_loops < max_loops_to_search and ext_step <= max_extension:
# extend the gap
if not first_iteration:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment