mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Fix RootMove::operator<() description
Reported by Melvin Sprague. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
8b6bcd9731
commit
93f64577c3
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ namespace {
|
|||
// RootMove::operator<() is the comparison function used when
|
||||
// sorting the moves. A move m1 is considered to be better
|
||||
// than a move m2 if it has a higher score, or if the moves
|
||||
// have equal score but m1 has the higher node count.
|
||||
// have equal score but m1 has the higher beta cut-off count.
|
||||
bool operator<(const RootMove& m) const {
|
||||
|
||||
return score != m.score ? score < m.score : theirBeta <= m.theirBeta;
|
||||
|
|
Loading…
Add table
Reference in a new issue