]> git.sesse.net Git - stockfish/commitdiff
Fix a stale comment
authorMarco Costalba <mcostalba@gmail.com>
Sat, 16 Apr 2011 09:21:13 +0000 (10:21 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 16 Apr 2011 09:21:31 +0000 (10:21 +0100)
Spotted by Onno

No functional change.

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

index 4bdfd37476fdf4844d2fe8431987c0a72a1f5491..95310bd826364f8bb7739ac1d9e2dd8659be1205 100644 (file)
@@ -217,9 +217,7 @@ void MovePicker::score_captures() {
 }
 
 void MovePicker::score_noncaptures() {
-  // First score by history, when no history is available then use
-  // piece/square tables values. This seems to be better then a
-  // random choice when we don't have an history for any move.
+  // Score by history and max gain for the move.
   Move m;
   Piece piece;
   Square from, to;