X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.cpp;h=65c8c86292df1c2e12bac5336f01f8820337ce4a;hp=f0ee5f682d02cada44957745849684613f3e4196;hb=11207f7c1f943aa02bccbfa5eff6fdd18859721f;hpb=97f5d19bdc0439f297ad11dd59997aba9342ce93 diff --git a/src/material.cpp b/src/material.cpp index f0ee5f68..65c8c862 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -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)) {