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

@@ -304,7 +304,7 @@ MaterialInfo* MaterialInfoTable::get_material_info(const Position& pos) {
{
if ( pos.non_pawn_material(c) == pos.non_pawn_material(opposite_color(c))
|| pos.non_pawn_material(c) < RookValueMidgame)
mi->factor[c] = SCALE_FACTOR_ZERO;
mi->factor[c] = 0;
else
{
switch (pos.piece_count(c, BISHOP)) {