projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4b8a7f2
)
Don't update_gains() in qsearch
author
Marco Costalba
<mcostalba@gmail.com>
Sun, 12 Jun 2011 06:09:30 +0000 (07:09 +0100)
committer
Marco Costalba
<mcostalba@gmail.com>
Sun, 12 Jun 2011 06:09:30 +0000 (07:09 +0100)
Is almost unuseful becuase captures are skipped.
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
ec2b1c9
..
c30fe92
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-1372,8
+1372,6
@@
split_point_start: // At split points actual search starts from here
else
ss->eval = bestValue = evaluate(pos, evalMargin);
- update_gains(pos, (ss-1)->currentMove, (ss-1)->eval, ss->eval);
-
// Stand pat. Return immediately if static value is at least beta
if (bestValue >= beta)
{