@@ -266,7 +266,10 @@ function (scs::GroupStoppingCriterionState)(
266266)
267267 k = get_iteration (state)
268268 (k == 0 ) && (scs. at_iteration = - 1 ) # reset on init
269- if all (st -> st[2 ](problem, algorithm, state, st[1 ]), zip (sc. criteria, scs. criteria_states))
269+ if all (
270+ st -> st[2 ](problem, algorithm, state, st[1 ]),
271+ zip (sc. criteria, scs. criteria_states),
272+ )
270273 scs. at_iteration = k
271274 return true
272275 end
@@ -281,7 +284,10 @@ function (scs::GroupStoppingCriterionState)(
281284)
282285 k = get_iteration (state)
283286 (k == 0 ) && (c. at_iteration = - 1 ) # reset on init
284- if any (st -> st[2 ](problem, algorithm, state, st[1 ]), zip (sc. criteria, scs. criteria_states))
287+ if any (
288+ st -> st[2 ](problem, algorithm, state, st[1 ]),
289+ zip (sc. criteria, scs. criteria_states),
290+ )
285291 c. at_iteration = k
286292 return true
287293 end
@@ -434,7 +440,12 @@ function initialize_state!(
434440 return scs
435441end
436442
437- function (scs:: StopAfterTimePeriodState )(:: Problem , :: Algorithm , state:: State , sc:: StopAfter )
443+ function (scs:: StopAfterTimePeriodState )(
444+ :: Problem ,
445+ :: Algorithm ,
446+ state:: State ,
447+ sc:: StopAfter ,
448+ )
438449 k = get_iteration (state)
439450 if value (scs. start) == 0 || k <= 0 # (re)start timer
440451 scs. at_iteration = - 1
0 commit comments