Skip to content

Remove extra lm.disable check - #3040

Merged
easbar merged 1 commit into
masterfrom
lm_disable
Aug 14, 2024
Merged

easbar merged 1 commit into
masterfrom
lm_disable

Conversation

@easbar

@easbar easbar commented Aug 13, 2024

Copy link
Copy Markdown
Member

We only arrive at this check if lm.disable=false so it is unnecessary. More importantly, if we arrived there and for whatever reason lm.disable was true we certainly would not want to skip the check, because it is already clear we are going to use LM.

See this comment: https://github.com/graphhopper/graphhopper/pull/2544/files#r863523145

@easbar
easbar requested a review from karussell August 13, 2024 19:07

@karussell karussell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Makes sense - thanks!

@easbar
easbar merged commit c54a883 into master Aug 14, 2024
@easbar
easbar deleted the lm_disable branch August 14, 2024 07:34
@karussell karussell added this to the 10.0 milestone Aug 14, 2024

This branch was previously deployed

1 inactive deployment
benchmarks — 4d935770 Deployed Aug 13, 2024 by easbar
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.

2 participants