Commit 6f0c72ac authored by Magali Ruffier's avatar Magali Ruffier
Browse files

exactly max_run iterations, not more

parent 9a1f6378
......@@ -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;
}
}
......
Markdown is supported
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