mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 10:57:43 +00:00
Revert scale factor in pawn evaluation
It simply doesn't seems to work both in direct matches and in balance tuning. So revert the idea. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -430,13 +430,6 @@ Value do_evaluate(const Position& pos, EvalInfo& ei, int threadID) {
|
||||
factor[BLACK] = sf;
|
||||
}
|
||||
|
||||
// If we don't already have an unusual scale factor, use pawn
|
||||
// evaluation ones.
|
||||
if (factor[WHITE] == SCALE_FACTOR_NORMAL)
|
||||
factor[WHITE] = ei.pi->scale_factor(WHITE);
|
||||
if (factor[BLACK] == SCALE_FACTOR_NORMAL)
|
||||
factor[BLACK] = ei.pi->scale_factor(BLACK);
|
||||
|
||||
// Interpolate between the middle game and the endgame score
|
||||
Color stm = pos.side_to_move();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user