Skip to content
Snippets Groups Projects
Commit 6f0c72ac authored by Magali Ruffier's avatar Magali Ruffier
Browse files

exactly max_run iterations, not more

parent 9a1f6378
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ sub run {
-density_value => $feature);
push(@features, $df);
}
if ($count >= $total || $iteration > $max_run) {
if ($count >= $total || $iteration == $max_run) {
last;
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment