Skip to content

Commit

Permalink
twig.
Browse files Browse the repository at this point in the history
bench 3460653
  • Loading branch information
Vizvezdenec committed Nov 8, 2018
1 parent ee0b4af commit a098f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evaluate.cpp
Expand Up @@ -787,7 +787,7 @@ namespace {
&& opposite_colors(pos.square<BISHOP>(strongSide), (strongSide==WHITE? SQ_A8:SQ_A1)))
|| ((pos.pieces(strongSide, PAWN) & FileHBB)
&& opposite_colors(pos.square<BISHOP>(strongSide), (strongSide==WHITE? SQ_H8:SQ_H1)))))
sf = pos.non_pawn_material(strongSide)/50;
sf = 25 + pos.non_pawn_material(strongSide)/300;
else
sf = std::min(40 + (pos.opposite_bishops() ? 2 : 7) * pos.count<PAWN>(strongSide), sf);
}
Expand Down

0 comments on commit a098f15

Please sign in to comment.