Skip to content

Commit

Permalink
Fix off by one error.
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed May 4, 2014
1 parent 5af3537 commit 39c09fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ abstract class RuleExecutor[TreeType <: TreeNode[_]] extends Logging {
result
}
iteration += 1
if (iteration >= batch.strategy.maxIterations) {
if (iteration > batch.strategy.maxIterations) {
logger.info(s"Max iterations ($iteration) reached for batch ${batch.name}")
continue = false
}
Expand Down

0 comments on commit 39c09fe

Please sign in to comment.