Re-add "Pawn Structure" UCI option

And reshuffle the code to not special case
this parameter.

No functional change.
This commit is contained in:
Marco Costalba
2013-05-25 12:18:58 +02:00
parent eafb66e1aa
commit 7222f47350
5 changed files with 21 additions and 23 deletions

View File

@@ -325,12 +325,6 @@ inline Score operator/(Score s, int i) {
return make_score(mg_value(s) / i, eg_value(s) / i);
}
/// Weight score v by score w trying to prevent overflow
inline Score apply_weight(Score v, Score w) {
return make_score((int(mg_value(v)) * mg_value(w)) / 0x100,
(int(eg_value(v)) * eg_value(w)) / 0x100);
}
#undef ENABLE_OPERATORS_ON
#undef ENABLE_SAFE_OPERATORS_ON