Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Simplify score improvement in qsearch
Before if we passed alpha but didn't achieve a beta cutoff we updated alpha and kept alpha. This patch makes it so that a value greater than alpha is returned immediately.
Passed STC:
https://tests.stockfishchess.org/tests/view/67383c6a86d5ee47d953ee9a
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 44992 W: 11764 L: 11551 D: 21677
Ptnml(0-2): 146, 5238, 11505, 5471, 136
Passed LTC:
https://tests.stockfishchess.org/tests/view/6738c2ea86d5ee47d953eef8
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 210474 W: 53710 L: 53683 D: 103081
Ptnml(0-2): 123, 23186, 58607, 23183, 138
Bench: 798787