Skip to content

Commit

Permalink
Double material bonus for losing chess
Browse files Browse the repository at this point in the history
giveaway STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1273 W: 553 L: 451 D: 269
http://www.variantfishtest.org:6543/tests/view/5e4c63ff6e23db46beba4e50

giveaway LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1470 W: 615 L: 512 D: 343
http://www.variantfishtest.org:6543/tests/view/5e4ce01e6e23db46beba4e64

losers LTC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 624 W: 317 L: 258 D: 49
http://www.variantfishtest.org:6543/tests/view/5e4d6d576e23db46beba4e66
  • Loading branch information
ianfab committed Feb 19, 2020
1 parent fe83a7e commit da7180d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ namespace {
bonus += pieceCount[Us][pt1] * v;
}

return bonus;
return bonus * (1 + pos.must_capture());
}

} // namespace
Expand Down

0 comments on commit da7180d

Please sign in to comment.