mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Fix a stale comment
Spotted by Onno No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
f8e767388b
commit
6056a43419
1 changed files with 1 additions and 3 deletions
|
@ -217,9 +217,7 @@ void MovePicker::score_captures() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void MovePicker::score_noncaptures() {
|
void MovePicker::score_noncaptures() {
|
||||||
// First score by history, when no history is available then use
|
// Score by history and max gain for the move.
|
||||||
// piece/square tables values. This seems to be better then a
|
|
||||||
// random choice when we don't have an history for any move.
|
|
||||||
Move m;
|
Move m;
|
||||||
Piece piece;
|
Piece piece;
|
||||||
Square from, to;
|
Square from, to;
|
||||||
|
|
Loading…
Add table
Reference in a new issue