projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f8e7673
)
Fix a stale comment
author
Marco Costalba
<mcostalba@gmail.com>
Sat, 16 Apr 2011 09:21:13 +0000 (10:21 +0100)
committer
Marco 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
patch
|
blob
|
history
diff --git
a/src/movepick.cpp
b/src/movepick.cpp
index
4bdfd37
..
95310bd
100644
(file)
--- a/
src/movepick.cpp
+++ b/
src/movepick.cpp
@@
-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;