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:
Marco Costalba
2010-04-21 20:35:47 +01:00
parent 97f5d19bdc
commit 11207f7c1f
5 changed files with 6 additions and 33 deletions

View File

@@ -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();