mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Move Tempo to evaluation
No functional change.
This commit is contained in:
@@ -855,7 +855,7 @@ namespace Eval {
|
||||
/// of the position always from the point of view of the side to move.
|
||||
|
||||
Value evaluate(const Position& pos) {
|
||||
return do_evaluate<false>(pos);
|
||||
return do_evaluate<false>(pos) + Tempo;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user