Fix early stopping in StopWhenRepeated#558
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #558 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 91 91
Lines 9976 9975 -1
=========================================
- Hits 9976 9975 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
That looks a bit strange to me now. Because now for |
|
Ah yes, we call the criterion later anyway. You are right. Then it makes more sense to remove line 1339. |
kellertuer
left a comment
There was a problem hiding this comment.
Now it looks better. Thanks for spotting that edge case.
Do you need that soon? Then I could release a new version in the evening.
|
I am currently using a development version of Manopt.jl anyway. So I don't really need it to be released today, but having it in a released version sooner than later would make it more comfortable. Thanks for asking. |
|
Sure no problem. If you want to help real quick, can you bump the version number in the project toml and set the date of the newest version in the Changelog to today? Then I do not have to do a second PR for that. |
|
Sure. |
I just had a case, where the interior stopping criterion of a
StopWhenRepeatedstopping criterion was satisfied at initialization, but not anymore in the first few iterations, i.e., it was not yet repeatedntimes, but the optimization was stopped nonetheless, which was confusing to me. This PR fixes this by not returning early in the initialization.