]> git.sesse.net Git - stockfish/commit
Pass evalMargin through SearchStack as eval
authorMarco Costalba <mcostalba@gmail.com>
Sat, 16 Oct 2010 10:54:44 +0000 (11:54 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 16 Oct 2010 10:54:44 +0000 (11:54 +0100)
commit19ff8e29026523e2d3c47f6542d564fe9cf537e6
tree0c4fdd9d369355c862fdc1eb10909882215e2ade
parenta7f4ee75406fc93bc0db6711204511a52d35166a
Pass evalMargin through SearchStack as eval

It has more sense to treat the two evaluation metrics
in the same way.

As a side effect now we use the correct eval margin when
pruning in a SplitPoint node.

No functional change in single thread.

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