Skip to content

Commit b29c16d

Browse files
committed
Merge branch 'kellertuer/main-types' of https://github.com/JuliaManifolds/AlgorithmsInterface.jl into kellertuer/main-types
2 parents 3380089 + 0b4d003 commit b29c16d

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/stopping_criterion.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,10 +267,12 @@ function initialize_state(
267267
stop_when::Union{StopWhenAll,StopWhenAny};
268268
kwargs...,
269269
)
270-
return GroupStoppingCriterionState((
271-
initialize_state(problem, algorithm, stopping_criterion; kwargs...) for
272-
stopping_criterion in stop_when.criteria
273-
)...)
270+
return GroupStoppingCriterionState(
271+
(
272+
initialize_state(problem, algorithm, stopping_criterion; kwargs...) for
273+
stopping_criterion in stop_when.criteria
274+
)...,
275+
)
274276
end
275277
function initialize_state!(
276278
stopping_criterion_states::GroupStoppingCriterionState,

0 commit comments

Comments
 (0)