Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace MVV/LVA by MVV for good captures
Passed STC LLR: 3.71 (-2.94,2.94) [-3.00,1.00] Total: 64363 W: 12299 L: 12214 D: 39850 and LTC LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 69976 W: 11056 L: 11011 D: 47909 Bench: 8012532 Resolves #340
- Loading branch information
Showing
1 changed file
with
3 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cc54a91
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to wonder if the main difference this makes is that it no longer handles enpassant and promotions. Moves are generated starting with the lowest value pieces and ending with the highest value pieces, so LVA may be implied by the stable sort implied by the use of std::max_element.
EDIT: Actually, never mind.
cc54a91
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it seems at least one person has been misled by my previous comment: I was wrong. The sorting is not stable.