Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes bug in plateau detection #84

Merged

Conversation

merschformann
Copy link
Member

Description

Fixes a bug in the new plateau detection functionality that caused it to not work correctly when solutions were still found within cutoff.

Changes

  • Changed the comparison logic to use cutoffValue-currentValue for both absolute and relative thresholds to ensure termination criteria are correctly applied.
  • Updated comments to clarify the new comparison logic between current and cutoff values.

Copy link
Member

@sebastian-quintero sebastian-quintero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh boy! Nice catch!

@merschformann merschformann merged commit f5358eb into develop Jan 21, 2025
34 checks passed
@merschformann merschformann deleted the feature/eng-5676-fix-bug-in-nextroute-plateau-detection branch January 21, 2025 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants