mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
We need just one eval margin in search
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -150,10 +150,10 @@ namespace {
|
||||
}
|
||||
else if (token == "eval")
|
||||
{
|
||||
Value margins[2];
|
||||
Value evalMargin;
|
||||
cout << "Incremental mg: " << mg_value(RootPosition.value())
|
||||
<< "\nIncremental eg: " << eg_value(RootPosition.value())
|
||||
<< "\nFull eval: " << evaluate(RootPosition, margins) << endl;
|
||||
<< "\nFull eval: " << evaluate(RootPosition, evalMargin) << endl;
|
||||
}
|
||||
else if (token == "key")
|
||||
cout << "key: " << hex << RootPosition.get_key()
|
||||
|
||||
Reference in New Issue
Block a user