projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6442981
)
Initialize killers at ss+2 also in root_search()
author
Marco Costalba
<mcostalba@gmail.com>
Wed, 5 Jan 2011 09:08:25 +0000 (10:08 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Fri, 14 Jan 2011 06:27:06 +0000 (07:27 +0100)
After 4955 games:
Mod - Orig: 786 - 768 - 3401 +1 ELO
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
5a358f0
..
1a8e9ea
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-702,6
+702,7
@@
namespace {
// Step 1. Initialize node (polling is omitted at root)
ss->currentMove = ss->bestMove = MOVE_NONE;
+ (ss+2)->killers[0] = (ss+2)->killers[1] = (ss+2)->mateKiller = MOVE_NONE;
// Step 2. Check for aborted search (omitted at root)
// Step 3. Mate distance pruning (omitted at root)