Github user greghogan commented on a diff in the pull request:
    --- Diff: 
    @@ -1513,14 +1513,21 @@ private void 
finalizeWorksetIteration(IterationDescriptor descr) {
                String convAggName = 
                ConvergenceCriterion<?> convCriterion = 
                if (convCriterion != null || convAggName != null) {
    -                   throw new CompilerException("Error: Cannot use custom 
convergence criterion with workset iteration. Workset iterations have implicit 
convergence criterion where workset is empty.");
    +                   if (convCriterion == null) {
    +                           throw new CompilerException("Error: Convergence 
criterion aggregator set, but criterion is null.");
    +                   }
    +                   if (convAggName == null) {
    +                           throw new CompilerException("Error: Aggregator 
convergence criterion set, but aggregator is null.");
    +                   }
    +                   syncConfig.setConvergenceCriterion(convAggName, 
 new LongSumAggregator());
 new LongSumAggregator());
 new WorksetEmptyConvergenceCriterion());
 new WorksetEmptyConvergenceCriterion());
    --- End diff --
    Is it safe to use a fixed name for the aggregator? Could we not have 
multiple iterations in a single job?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to