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>
This commit is contained in:
Marco Costalba
2010-10-16 11:54:44 +01:00
parent a7f4ee7540
commit 19ff8e2902
2 changed files with 13 additions and 11 deletions

View File

@@ -57,6 +57,7 @@ struct SearchStack {
Move killers[2];
Depth reduction;
Value eval;
Value evalMargin;
bool skipNullMove;
SplitPoint* sp;
};