Skip to content

Commit

Permalink
Update src/plans/stopping_criterion.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Mateusz Baran <mateuszbaran89@gmail.com>
  • Loading branch information
kellertuer and mateuszbaran authored Jun 10, 2024
1 parent d0eebc0 commit 5add27c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plans/stopping_criterion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ concatenation of all reasons (assuming that all non-indicating return `""`).
"""
mutable struct StopWhenAny{TCriteria<:Tuple} <: StoppingCriterionSet
criteria::TCriteria
at_iteration::Integer
at_iteration::Int
StopWhenAny(c::Vector{<:StoppingCriterion}) = new{typeof(tuple(c...))}(tuple(c...), -1)
StopWhenAny(c::StoppingCriterion...) = new{typeof(c)}(c, -1)
end
Expand Down

0 comments on commit 5add27c

Please sign in to comment.