]> git.sesse.net Git - stockfish/commitdiff
Fix RootMove::operator<() description
authorMarco Costalba <mcostalba@gmail.com>
Sun, 16 May 2010 07:56:58 +0000 (08:56 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 16 May 2010 07:56:58 +0000 (08:56 +0100)
Reported by Melvin Sprague.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp

index 768b0594e559113806f4fa9799c7eeb0bc71824a..1a01601b8144f9d68a8cdd0b3c30356acc0d5d68 100644 (file)
@@ -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;