v0.6.5
Manopt v0.6.5
Added
- a new function
requires_updatethat per<:StoppingCriteriontype can indicate, whether a state is present that needs updating in every iteration. - a new shortcut for the
StopWhenCriterionWithIterationConditionthat only evaluates everynth iteration usingstopping_criterion ≞ n(\measeqon REPL) as constructor. While in theory also%would have been possible, there was a discussion not to use mnore-common symbols here, cf. (#509) – and themcould be seen as “modulo”.
Fixed
StopWhenAllandStopWhenAnyevaluated their criteria with short-circuiting, so criteria later in the list were not called in every iteration. Stateful criteria like
StopWhenChangeLessorStopWhenRepeatedwere hence not updated and the reset at
initialization did not reach them either. Nowrequires_updateis used to determine which ones need to be called even after one could use a shortcut already – only the ones without state are “short-circuited”. (#632,#635)
Merged pull requests:
- Always evaluate all stopping criteria for StopWhenAll/StopWhenAny (#635) (@kellertuer)
Closed issues:
StopWhenArr/StopWhenAyskips side-effecting children (#632)